Inline Delete
This commit is contained in:
@@ -143,7 +143,7 @@ namespace Content.Server.Fluids.Components
|
||||
// is the puddle cleaned?
|
||||
if (puddleSolution.TotalVolume - transferAmount <= 0)
|
||||
{
|
||||
puddleComponent.Owner.Delete();
|
||||
IoCManager.Resolve<IEntityManager>().DeleteEntity(puddleComponent.Owner.Uid);
|
||||
|
||||
// After cleaning the puddle, make a new puddle with solution from the mop as a "wet floor". Then evaporate it slowly.
|
||||
// we do this WITHOUT adding to the existing puddle. Otherwise we have might have water puddles with the vomit sprite.
|
||||
|
||||
Reference in New Issue
Block a user