refactor: change fast settings at start if to match code convention

Also renamed the new config variable.
This commit is contained in:
Dan
2021-03-26 19:51:37 +00:00
parent 1d443c2a09
commit 3d003b1683
2 changed files with 2 additions and 2 deletions

View File

@@ -511,7 +511,7 @@ if ( RADAR:IsFastLimitAllowed() ) then
end
-- 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, 2, fastOptions[1] ) --FasLoc
else

View File

@@ -40,7 +40,7 @@ CONFIG.allow_fast_limit = true
-- 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.
CONFIG.fast_limit_menu_first = true
CONFIG.fast_limit_first_in_menu = false
-- 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.