Don't update solar panels while the map is paused
Fixes integration tests.
This commit is contained in:
parent
1b9f28200f
commit
1b84ee05ae
1 changed files with 1 additions and 1 deletions
|
|
@ -86,7 +86,7 @@ namespace Content.Server.Solar.EntitySystems
|
|||
|
||||
TotalPanelPower = 0;
|
||||
|
||||
foreach (var panel in EntityManager.EntityQuery<SolarPanelComponent>(true))
|
||||
foreach (var panel in EntityManager.EntityQuery<SolarPanelComponent>(false))
|
||||
{
|
||||
// There's supposed to be rotational logic here, but that implies putting it somewhere.
|
||||
panel.Owner.Transform.WorldRotation = TargetPanelRotation;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue