Fix low power notification never triggering
This commit is contained in:
committed by
Matthias Mailänder
parent
a4821b51a2
commit
5ce559c853
@@ -68,6 +68,7 @@ namespace OpenRA.Mods.Common.Traits
|
||||
|
||||
devMode = self.Trait<DeveloperMode>();
|
||||
wasHackEnabled = devMode.UnlimitedPower;
|
||||
PlayLowPowerNotification = info.AdviceInterval > 0;
|
||||
}
|
||||
|
||||
void INotifyCreated.Created(Actor self)
|
||||
|
||||
Reference in New Issue
Block a user