Cooldown for status effects (#1109)
This commit is contained in:
committed by
GitHub
parent
1587efbe29
commit
cb5acf7cd3
@@ -78,8 +78,7 @@ namespace Content.Server.GameObjects.Components.Nutrition
|
||||
|
||||
// Update UI
|
||||
Owner.TryGetComponent(out ServerStatusEffectsComponent statusEffectsComponent);
|
||||
statusEffectsComponent?.ChangeStatus(StatusEffect.Hunger, _hungerThresholdImages[ (int)_currentHungerThreshold ]);
|
||||
|
||||
statusEffectsComponent?.ChangeStatusEffectIcon(StatusEffect.Hunger, _hungerThresholdImages[ (int)_currentHungerThreshold ]);
|
||||
switch (_currentHungerThreshold)
|
||||
{
|
||||
case HungerThreshold.Overfed:
|
||||
|
||||
Reference in New Issue
Block a user