Pausing content (#3061)
* Change EntityQuery to not retrieve paused by default * GetAllComponents Co-authored-by: Metal Gear Sloth <metalgearsloth@gmail.com>
This commit is contained in:
@@ -22,7 +22,7 @@ namespace Content.Server.GameObjects.EntitySystems
|
||||
if (_updateTimer >= 1)
|
||||
{
|
||||
_updateTimer -= 1;
|
||||
foreach (var component in ComponentManager.EntityQuery<SolarControlConsoleComponent>())
|
||||
foreach (var component in ComponentManager.EntityQuery<SolarControlConsoleComponent>(true))
|
||||
{
|
||||
component.UpdateUIState();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user