mirror of
https://github.com/Michatec/wk_wars2x.git
synced 2026-04-01 00:16:27 +02:00
Feature: Bring fast options to top of menu options for ease of access.
This commit is contained in:
@@ -511,8 +511,9 @@ if ( RADAR:IsFastLimitAllowed() ) then
|
|||||||
end
|
end
|
||||||
|
|
||||||
-- Add the fast options to the main menu options table
|
-- Add the fast options to the main menu options table
|
||||||
table.insert( self.vars.menuOptions, fastOptions[1] )
|
--PR TrevorBarns: push to front of table, for ease of access.
|
||||||
table.insert( self.vars.menuOptions, fastOptions[2] )
|
table.insert( self.vars.menuOptions, 1, fastOptions[1] )
|
||||||
|
table.insert( self.vars.menuOptions, 2, fastOptions[2] )
|
||||||
end
|
end
|
||||||
|
|
||||||
-- Returns the numerical fast limit
|
-- Returns the numerical fast limit
|
||||||
|
|||||||
Reference in New Issue
Block a user