mirror of
https://github.com/Michatec/wk_wars2x.git
synced 2026-04-01 00:16:27 +02:00
Fixed operator menu bugging out when the power was reset
This commit is contained in:
@@ -295,6 +295,9 @@ function RADAR:TogglePower()
|
||||
|
||||
-- Power is now turned on
|
||||
if ( self:IsPowerOn() ) then
|
||||
-- Also make sure the operator menu is inactive
|
||||
self:SetMenuState( false )
|
||||
|
||||
-- Tell the system the radar is 'powering up'
|
||||
self:SetPoweringUpState( true )
|
||||
|
||||
|
||||
Reference in New Issue
Block a user