This commit is contained in:
Ell 2022-06-09 20:12:05 +02:00
parent dacc8c87e4
commit 9daa788fde
2 changed files with 2 additions and 2 deletions

View file

@ -5,7 +5,7 @@
</PropertyGroup>
<ItemGroup>
<PackageReference Include="TinyLifeApi" Version="0.21.2" />
<PackageReference Include="TinyLifeApi" Version="0.22.0" />
<PackageReference Include="ExtremelySimpleLogger" Version="1.2.5" />
<PackageReference Include="Lib.Harmony" Version="2.2.1" />

View file

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