Turns out we don't need to spawn a timer to delete ghosts anymore
This commit is contained in:
@@ -38,7 +38,7 @@ namespace Content.Server.Observer
|
||||
if (mind.VisitingEntity != null)
|
||||
{
|
||||
mind.UnVisit();
|
||||
Timer.Spawn(100, mind.VisitingEntity.Delete);
|
||||
mind.VisitingEntity.Delete();
|
||||
}
|
||||
|
||||
var position = player.AttachedEntity?.Transform.GridPosition ?? IoCManager.Resolve<IGameTicker>().GetObserverSpawnPoint();
|
||||
|
||||
Reference in New Issue
Block a user