Fixes being able to drink a closed drink (#1257)

This commit is contained in:
ike709
2020-07-03 16:26:13 -05:00
committed by GitHub
parent 3ee480a3b1
commit a4ced5f1fc

View File

@@ -128,6 +128,7 @@ namespace Content.Server.GameObjects.Components.Nutrition
if (!_opened)
{
target.PopupMessage(target, Loc.GetString("Open it first!"));
return false;
}
if (_contents.CurrentVolume.Float() <= 0)