Skip to content

Commit 5b485fe

Browse files
authored
fixed the specific if statement called when plant age is under 0 (space-wizards#25346)
1 parent 7d94cc7 commit 5b485fe

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Content.Server/Botany/Systems/PlantHolderSystem.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -621,6 +621,7 @@ public void Update(EntityUid uid, PlantHolderComponent? component = null)
621621
RemovePlant(uid, component);
622622
component.ForceUpdate = true;
623623
Update(uid, component);
624+
return;
624625
}
625626

626627
CheckHealth(uid, component);

0 commit comments

Comments
 (0)