Fix Long Produce Time After De-aging A Plant with cryoxadone. (#34668)

Update LastProduce when deaging plant from cryoxadone
This commit is contained in:
Benjamin Velliquette
2025-04-19 09:43:05 -04:00
committed by GitHub
parent 35fc2013e3
commit bd79d09939

View File

@@ -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;
}