fixed the specific if statement called when plant age is under 0 (#25346)

This commit is contained in:
Flesh
2024-02-17 18:08:59 +01:00
committed by GitHub
parent 7d94cc719c
commit 5b485fedbd

View File

@@ -621,6 +621,7 @@ public sealed class PlantHolderSystem : EntitySystem
RemovePlant(uid, component); RemovePlant(uid, component);
component.ForceUpdate = true; component.ForceUpdate = true;
Update(uid, component); Update(uid, component);
return;
} }
CheckHealth(uid, component); CheckHealth(uid, component);