Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
metalgearsloth committed Dec 21, 2024
1 parent a1cb3aa commit 696ddb1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Content.Shared/Nutrition/EntitySystems/HungerSystem.cs
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ private void SetAuthoritativeHungerValue(Entity<HungerComponent> entity, float v
{
entity.Comp.LastAuthoritativeHungerChangeTime = _timing.CurTime;
entity.Comp.LastAuthoritativeHungerValue = ClampHungerWithinThresholds(entity.Comp, value);
Dirty(entity);
DirtyField(entity.Owner, entity.Comp, nameof(HungerComponent.LastAuthoritativeHungerChangeTime));
}

private void UpdateCurrentThreshold(EntityUid uid, HungerComponent? component = null)
Expand Down

0 comments on commit 696ddb1

Please sign in to comment.