Fixed operator menu bugging out when the power was reset

This commit is contained in:
Dan
2020-03-13 11:31:51 +00:00
parent e8b4c53bf0
commit a1f72e7c91

View File

@@ -295,6 +295,9 @@ function RADAR:TogglePower()
-- Power is now turned on -- Power is now turned on
if ( self:IsPowerOn() ) then if ( self:IsPowerOn() ) then
-- Also make sure the operator menu is inactive
self:SetMenuState( false )
-- Tell the system the radar is 'powering up' -- Tell the system the radar is 'powering up'
self:SetPoweringUpState( true ) self:SetPoweringUpState( true )