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 a691f2ebac
commit bb96e22e64

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)