mirror of
https://github.com/corvax-team/ss14-wl.git
synced 2026-02-15 03:31:38 +01:00
Fixed trash not being spawned when throwing pies (#33013)
* Fixed trash not being spawned when throwing pies * Completely removed trash component flag check prior to the spawn loop
This commit is contained in:
@@ -51,12 +51,9 @@ namespace Content.Server.Nutrition.EntitySystems
|
||||
{
|
||||
_puddle.TrySpillAt(uid, solution, out _, false);
|
||||
}
|
||||
if (foodComp.Trash.Count == 0)
|
||||
foreach (var trash in foodComp.Trash)
|
||||
{
|
||||
foreach (var trash in foodComp.Trash)
|
||||
{
|
||||
EntityManager.SpawnEntity(trash, Transform(uid).Coordinates);
|
||||
}
|
||||
EntityManager.SpawnEntity(trash, Transform(uid).Coordinates);
|
||||
}
|
||||
}
|
||||
ActivatePayload(uid);
|
||||
|
||||
Reference in New Issue
Block a user