]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
fixed the specific if statement called when plant age is under 0 (#25346)
authorFlesh <62557990+PolterTzi@users.noreply.github.com>
Sat, 17 Feb 2024 17:08:59 +0000 (18:08 +0100)
committerGitHub <noreply@github.com>
Sat, 17 Feb 2024 17:08:59 +0000 (10:08 -0700)
Content.Server/Botany/Systems/PlantHolderSystem.cs

index 86f7be6d7b036cf8ed4768388e10d9ab3c75a796..0f54fd0da503995930d0646fdff7fcda849448d1 100644 (file)
@@ -621,6 +621,7 @@ public sealed class PlantHolderSystem : EntitySystem
             RemovePlant(uid, component);
             component.ForceUpdate = true;
             Update(uid, component);
+            return;
         }
 
         CheckHealth(uid, component);