mirror of
https://github.com/Michatec/wk_wars2x.git
synced 2026-04-01 00:16:27 +02:00
refactor: change fast settings at start if to match code convention
Also renamed the new config variable.
This commit is contained in:
@@ -511,7 +511,7 @@ 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
|
||||||
if CONFIG.fast_limit_menu_first == true then
|
if ( CONFIG.fast_limit_first_in_menu ) then
|
||||||
table.insert( self.vars.menuOptions, 1, fastOptions[2] ) --FasSpd
|
table.insert( self.vars.menuOptions, 1, fastOptions[2] ) --FasSpd
|
||||||
table.insert( self.vars.menuOptions, 2, fastOptions[1] ) --FasLoc
|
table.insert( self.vars.menuOptions, 2, fastOptions[1] ) --FasLoc
|
||||||
else
|
else
|
||||||
|
|||||||
@@ -40,7 +40,7 @@ CONFIG.allow_fast_limit = true
|
|||||||
|
|
||||||
-- Radar fast limit menu order
|
-- Radar fast limit menu order
|
||||||
-- When enabled, the fast limit options menu will be displayed first followed by fast lock toggle, then all default menu options.
|
-- When enabled, the fast limit options menu will be displayed first followed by fast lock toggle, then all default menu options.
|
||||||
CONFIG.fast_limit_menu_first = true
|
CONFIG.fast_limit_first_in_menu = false
|
||||||
|
|
||||||
-- Radar only lock players with auto fast locking
|
-- Radar only lock players with auto fast locking
|
||||||
-- When enabled, the radar will only automatically lock a speed if the caught vehicle has a real player in it.
|
-- When enabled, the radar will only automatically lock a speed if the caught vehicle has a real player in it.
|
||||||
|
|||||||
Reference in New Issue
Block a user