mirror of
https://github.com/Michatec/wk_wars2x.git
synced 2026-04-01 00:16:27 +02:00
refactor: use getter for IsFastDisplayEnabled()
This commit is contained in:
@@ -513,7 +513,7 @@ end
|
||||
|
||||
-- Return the state of the fastDisplay setting, short hand direct way to check if the fast system is enabled
|
||||
function RADAR:IsFastDisplayEnabled()
|
||||
return self.vars.settings["fastDisplay"]
|
||||
return self:GetSettingValue( "fastDisplay" )
|
||||
end
|
||||
|
||||
-- Returns if either of the antennas are transmitting
|
||||
|
||||
Reference in New Issue
Block a user