mirror of
https://github.com/Michatec/wk_wars2x.git
synced 2026-04-01 08:26: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
|
-- Return the state of the fastDisplay setting, short hand direct way to check if the fast system is enabled
|
||||||
function RADAR:IsFastDisplayEnabled()
|
function RADAR:IsFastDisplayEnabled()
|
||||||
return self.vars.settings["fastDisplay"]
|
return self:GetSettingValue( "fastDisplay" )
|
||||||
end
|
end
|
||||||
|
|
||||||
-- Returns if either of the antennas are transmitting
|
-- Returns if either of the antennas are transmitting
|
||||||
|
|||||||
Reference in New Issue
Block a user