From 9daa788fde95069ee39832df1e8a1e5adf89a639 Mon Sep 17 00:00:00 2001 From: Ellpeck Date: Thu, 9 Jun 2022 20:12:05 +0200 Subject: [PATCH] 0.22.0 --- ExampleMod.csproj | 2 +- SitDownOnGrassAction.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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); }