diff --git a/ExampleMod.csproj b/ExampleMod.csproj index ccdccd9..019c01d 100644 --- a/ExampleMod.csproj +++ b/ExampleMod.csproj @@ -5,7 +5,7 @@ - + diff --git a/SitDownOnGrassAction.cs b/SitDownOnGrassAction.cs index 1bb0a55..e5993ff 100644 --- a/SitDownOnGrassAction.cs +++ b/SitDownOnGrassAction.cs @@ -35,7 +35,7 @@ public class SitDownOnGrassAction : MultiAction { this.Person.CurrentPose = Person.Pose.SittingGround; // restore need and lower emotions - this.Person.RestoreNeed(NeedType.Energy, 0.5F, speedMultiplier); + this.Person.RestoreNeed(NeedType.Energy, 0.5F, this.Info, speedMultiplier); this.Person.LowerEmotion(EmotionType.Uncomfortable, 0.0001F, speedMultiplier); }