refactor: use getter for IsFastDisplayEnabled()

This commit is contained in:
Dan
2021-03-11 16:36:41 +00:00
parent c5bf28ca33
commit b7168ef658

View File

@@ -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