Skip to content

Commit

Permalink
Reset LastProduce after plant removal (space-wizards#24590)
Browse files Browse the repository at this point in the history
  • Loading branch information
deltanedas authored Jan 26, 2024
1 parent 669e449 commit 9a7b8be
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Content.Server/Botany/Systems/PlantHolderSystem.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 9a7b8be

Please sign in to comment.