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

@@ -347,7 +347,7 @@ namespace Content.Server.Atmos.EntitySystems
{
var atmosphere = _currentRunAtmosphere[_currentRunAtmosphereIndex];
if (atmosphere.LifeStage >= ComponentLifeStage.Stopping || atmosphere.Paused || !atmosphere.Simulated)
if (atmosphere.LifeStage >= ComponentLifeStage.Stopping || Paused(atmosphere.Owner) || !atmosphere.Simulated)
continue;
atmosphere.Timer += frameTime;