From 3d003b1683bbd4fed9be3ced16a52ff529d1f530 Mon Sep 17 00:00:00 2001 From: Dan Date: Fri, 26 Mar 2021 19:51:37 +0000 Subject: [PATCH] refactor: change fast settings at start if to match code convention Also renamed the new config variable. --- cl_radar.lua | 2 +- config.lua | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/cl_radar.lua b/cl_radar.lua index 95b74ad..4c6bdfe 100644 --- a/cl_radar.lua +++ b/cl_radar.lua @@ -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 diff --git a/config.lua b/config.lua index f0779ff..6844120 100644 --- a/config.lua +++ b/config.lua @@ -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.