Dedupe lots of nutrition and fix usedelay (#6406)

This commit is contained in:
metalgearsloth
2022-02-07 00:37:38 +11:00
committed by GitHub
parent da1007b7f1
commit dc38a8a149
10 changed files with 207 additions and 369 deletions

View File

@@ -54,7 +54,7 @@ namespace Content.Server.Nutrition.EntitySystems
if (!user.InRangeUnobstructed(target, popup: true))
return false;
return _foodSystem.TryUseFood(target, user);
return _foodSystem.TryFeed(user, target, food);
}
/// <summary>