Fix utensils not being thrown away (#33326)
This commit is contained in:
@@ -44,7 +44,7 @@ namespace Content.Server.Nutrition.EntitySystems
|
||||
public (bool Success, bool Handled) TryUseUtensil(EntityUid user, EntityUid target, Entity<UtensilComponent> utensil)
|
||||
{
|
||||
if (!EntityManager.TryGetComponent(target, out FoodComponent? food))
|
||||
return (false, true);
|
||||
return (false, false);
|
||||
|
||||
//Prevents food usage with a wrong utensil
|
||||
if ((food.Utensil & utensil.Comp.Types) == 0)
|
||||
|
||||
Reference in New Issue
Block a user