Fix low power notification never triggering

This commit is contained in:
Gustas
2023-08-05 09:35:50 +03:00
committed by Matthias Mailänder
parent a4821b51a2
commit 5ce559c853

View File

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