Fixes glass priority (#3183)
This commit is contained in:
@@ -33,6 +33,8 @@ namespace Content.Server.GameObjects.Components.Nutrition
|
|||||||
|
|
||||||
public override string Name => "Drink";
|
public override string Name => "Drink";
|
||||||
|
|
||||||
|
int IAfterInteract.Priority => 10;
|
||||||
|
|
||||||
[ViewVariables]
|
[ViewVariables]
|
||||||
private bool _opened;
|
private bool _opened;
|
||||||
|
|
||||||
@@ -150,9 +152,7 @@ namespace Content.Server.GameObjects.Components.Nutrition
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
TryUseDrink(eventArgs.Target, true);
|
return TryUseDrink(eventArgs.Target, true);
|
||||||
|
|
||||||
return true;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public void Examine(FormattedMessage message, bool inDetailsRange)
|
public void Examine(FormattedMessage message, bool inDetailsRange)
|
||||||
|
|||||||
Reference in New Issue
Block a user