Implement traits system (#10693)

This commit is contained in:
Visne
2022-09-10 17:40:06 +02:00
committed by GitHub
parent e1782ec22b
commit 4cc5fa239e
17 changed files with 3006 additions and 29 deletions

View File

@@ -160,9 +160,6 @@ namespace Content.Server.Nutrition.Components
{
_currentHunger -= frametime * ActualDecayRate;
UpdateCurrentThreshold();
if (_currentHungerThreshold != HungerThreshold.Dead)
return;
}
private void UpdateCurrentThreshold()