Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Rinary1 committed Oct 30, 2024
1 parent 059fab5 commit a617f77
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Content.Server/Vampire/VampireSystem.cs
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ private void OnVampireBloodChangedEvent(EntityUid uid, VampireComponent componen
{
_action.AddAction(uid, ref component.MutationsAction, VampireComponent.MutationsActionPrototype);
}
else if (_actionContainer.HasAction(uid, "ActionVampireOpenMutationsMenu"))
else if (GetBloodEssence(uid) < FixedPoint2.New(50) && _actionContainer.HasAction(uid, "ActionVampireOpenMutationsMenu"))
{
if (!TryComp(uid, out ActionsComponent? comp) || component.MutationsAction is null)
return;
Expand Down

0 comments on commit a617f77

Please sign in to comment.