From 9a7b8be428030d537b99c3b05c2f093708ac6888 Mon Sep 17 00:00:00 2001 From: deltanedas <39013340+deltanedas@users.noreply.github.com> Date: Fri, 26 Jan 2024 17:50:50 +0000 Subject: [PATCH] Reset LastProduce after plant removal (#24590) --- Content.Server/Botany/Systems/PlantHolderSystem.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/Content.Server/Botany/Systems/PlantHolderSystem.cs b/Content.Server/Botany/Systems/PlantHolderSystem.cs index 1484051c841ba8..6bf0b9692ced63 100644 --- a/Content.Server/Botany/Systems/PlantHolderSystem.cs +++ b/Content.Server/Botany/Systems/PlantHolderSystem.cs @@ -766,6 +766,7 @@ public void RemovePlant(EntityUid uid, PlantHolderComponent? component = null) component.Seed = null; component.Dead = false; component.Age = 0; + component.LastProduce = 0; component.Sampled = false; component.Harvest = false; component.ImproperLight = false;