Remove component.Paused (#6285)

This commit is contained in:
metalgearsloth
2022-01-26 17:57:48 +11:00
committed by GitHub
parent b2229a951d
commit 3f7f3baa16
6 changed files with 15 additions and 9 deletions

View File

@@ -387,7 +387,9 @@ namespace Content.Server.Shuttles.EntitySystems
foreach (var comp in _activeThrusters.ToArray())
{
if (!comp.Firing || comp.Damage == null || comp.Paused || comp.Deleted) continue;
MetaDataComponent? metaData = null;
if (!comp.Firing || comp.Damage == null || Paused(comp.Owner, metaData) || Deleted(comp.Owner, metaData)) continue;
DebugTools.Assert(comp.Colliding.Count > 0);