Fixes being able to drink a closed drink (#1257)
This commit is contained in:
@@ -128,6 +128,7 @@ namespace Content.Server.GameObjects.Components.Nutrition
|
|||||||
if (!_opened)
|
if (!_opened)
|
||||||
{
|
{
|
||||||
target.PopupMessage(target, Loc.GetString("Open it first!"));
|
target.PopupMessage(target, Loc.GetString("Open it first!"));
|
||||||
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (_contents.CurrentVolume.Float() <= 0)
|
if (_contents.CurrentVolume.Float() <= 0)
|
||||||
|
|||||||
Reference in New Issue
Block a user