ECS usedelay (#6348)

This commit is contained in:
metalgearsloth
2022-01-31 00:27:29 +11:00
committed by GitHub
parent 3bf661871b
commit cfd2e28eae
5 changed files with 120 additions and 66 deletions

View File

@@ -202,7 +202,7 @@ namespace Content.Server.Nutrition.EntitySystems
}
if (string.IsNullOrEmpty(food.TrashPrototype))
EntityManager.QueueDeleteEntity((food).Owner);
EntityManager.QueueDeleteEntity(food.Owner);
else
DeleteAndSpawnTrash(food, user);
@@ -231,7 +231,7 @@ namespace Content.Server.Nutrition.EntitySystems
return;
}
EntityManager.QueueDeleteEntity((component).Owner);
EntityManager.QueueDeleteEntity(component.Owner);
}
private void AddEatVerb(EntityUid uid, FoodComponent component, GetInteractionVerbsEvent ev)