]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
Reset LastProduce after plant removal (#24590)
authordeltanedas <39013340+deltanedas@users.noreply.github.com>
Fri, 26 Jan 2024 17:50:50 +0000 (17:50 +0000)
committerGitHub <noreply@github.com>
Fri, 26 Jan 2024 17:50:50 +0000 (11:50 -0600)
Content.Server/Botany/Systems/PlantHolderSystem.cs

index 1484051c841ba88a59d8c4910be65a2c3c82812f..6bf0b9692ced63da4e017b4f0c1077a29109b3ae 100644 (file)
@@ -766,6 +766,7 @@ public sealed class PlantHolderSystem : EntitySystem
         component.Seed = null;
         component.Dead = false;
         component.Age = 0;
+        component.LastProduce = 0;
         component.Sampled = false;
         component.Harvest = false;
         component.ImproperLight = false;