Fix weird lifestage autorefactors.
This commit is contained in:
@@ -121,7 +121,7 @@ namespace Content.Server.StationEvents.Events
|
||||
|
||||
if (!_foundTile ||
|
||||
_targetGrid == default ||
|
||||
(!_entityManager.EntityExists(_targetGrid) ? EntityLifeStage.Deleted : _entityManager.GetComponent<MetaDataComponent>(_targetGrid).EntityLifeStage) >= EntityLifeStage.Deleted ||
|
||||
_entityManager.Deleted(_targetGrid) ||
|
||||
!atmosphereSystem.IsSimulatedGrid(_entityManager.GetComponent<TransformComponent>(_targetGrid).GridID))
|
||||
{
|
||||
Running = false;
|
||||
|
||||
Reference in New Issue
Block a user