Makes more things queue delete to prevent physics collision callback issues.

This commit is contained in:
Vera Aguilera Puerto
2021-05-26 18:43:12 +02:00
parent 2232dbd71d
commit f64433a14d
14 changed files with 18 additions and 18 deletions

View File

@@ -129,7 +129,7 @@ namespace Content.Server.Chemistry.ReactionEffects
if (areaEffectComponent == null)
{
Logger.Error("Couldn't get AreaEffectComponent from " + _prototypeId);
ent.Delete();
ent.QueueDelete();
return;
}

View File

@@ -25,7 +25,7 @@ namespace Content.Server.Chemistry.TileReactions
break;
amount = next;
entity.Delete();
entity.QueueDelete();
}
}