Allow eating and drinking to be cancelled. (#15434)
This commit is contained in:
@@ -282,7 +282,6 @@ namespace Content.Server.Nutrition.EntitySystems
|
||||
// Mice and the like can eat without hands.
|
||||
// TODO maybe set this based on some CanEatWithoutHands event or component?
|
||||
NeedHand = forceDrink,
|
||||
CancelDuplicate = false,
|
||||
};
|
||||
|
||||
_doAfterSystem.TryStartDoAfter(doAfterEventArgs);
|
||||
|
||||
@@ -146,8 +146,6 @@ namespace Content.Server.Nutrition.EntitySystems
|
||||
// Mice and the like can eat without hands.
|
||||
// TODO maybe set this based on some CanEatWithoutHands event or component?
|
||||
NeedHand = forceFeed,
|
||||
//Works better with cancel duplicate on because you can just use again to stop
|
||||
CancelDuplicate = false,
|
||||
};
|
||||
|
||||
_doAfterSystem.TryStartDoAfter(doAfterArgs);
|
||||
|
||||
Reference in New Issue
Block a user