From: Benjamin Velliquette <32338704+bVelliquette@users.noreply.github.com> Date: Sat, 19 Apr 2025 13:43:05 +0000 (-0400) Subject: Fix Long Produce Time After De-aging A Plant with cryoxadone. (#34668) X-Git-Url: https://git.smokeofanarchy.ru/gitweb.cgi?a=commitdiff_plain;h=bd79d099398e8223d1dfed954ce19338158fe252;p=space-station-14.git Fix Long Produce Time After De-aging A Plant with cryoxadone. (#34668) Update LastProduce when deaging plant from cryoxadone --- diff --git a/Content.Server/EntityEffects/Effects/PlantMetabolism/PlantCryoxadone.cs b/Content.Server/EntityEffects/Effects/PlantMetabolism/PlantCryoxadone.cs index 7fe4b7a170..8a143ea5d5 100644 --- a/Content.Server/EntityEffects/Effects/PlantMetabolism/PlantCryoxadone.cs +++ b/Content.Server/EntityEffects/Effects/PlantMetabolism/PlantCryoxadone.cs @@ -24,6 +24,7 @@ public sealed partial class PlantCryoxadone : EntityEffect else deviation = (int) (seed.Maturation / seed.GrowthStages); plantHolderComp.Age -= deviation; + plantHolderComp.LastProduce = plantHolderComp.Age; plantHolderComp.SkipAging++; plantHolderComp.ForceUpdate = true; }