Fix Long Produce Time After De-aging A Plant with cryoxadone. (#34668)
Update LastProduce when deaging plant from cryoxadone
This commit is contained in:
committed by
GitHub
parent
35fc2013e3
commit
bd79d09939
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user