Makes many thing that update on paused *not* do that. (#4938)

This commit is contained in:
Vera Aguilera Puerto
2021-10-18 14:58:34 +02:00
committed by GitHub
parent 30a912e54f
commit b904efb942
24 changed files with 27 additions and 27 deletions

View File

@@ -21,7 +21,7 @@ namespace Content.Server.Solar.EntitySystems
if (_updateTimer >= 1)
{
_updateTimer -= 1;
foreach (var component in EntityManager.EntityQuery<SolarControlConsoleComponent>(true))
foreach (var component in EntityManager.EntityQuery<SolarControlConsoleComponent>())
{
component.UpdateUIState();
}

View File

@@ -86,7 +86,7 @@ namespace Content.Server.Solar.EntitySystems
TotalPanelPower = 0;
foreach (var panel in EntityManager.EntityQuery<SolarPanelComponent>(false))
foreach (var panel in EntityManager.EntityQuery<SolarPanelComponent>())
{
// There's supposed to be rotational logic here, but that implies putting it somewhere.
panel.Owner.Transform.WorldRotation = TargetPanelRotation;