Skip to content

Commit

Permalink
My lawyer told me to do this
Browse files Browse the repository at this point in the history
  • Loading branch information
plykiya committed Jul 15, 2024
1 parent b7aa97e commit fa442e8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions Content.Server/Nutrition/EntitySystems/DrinkSystem.cs
Original file line number Diff line number Diff line change
Expand Up @@ -211,6 +211,7 @@ private bool TryDrink(EntityUid user, EntityUid target, DrinkComponent drink, En
target: target,
used: item)
{
BreakOnHandChange = false,
BreakOnMove = forceDrink,
BreakOnDamage = true,
MovementThreshold = 0.01f,
Expand Down
1 change: 1 addition & 0 deletions Content.Server/Nutrition/EntitySystems/FoodSystem.cs
Original file line number Diff line number Diff line change
Expand Up @@ -188,6 +188,7 @@ private void OnFeedFood(Entity<FoodComponent> entity, ref AfterInteractEvent arg
target: target,
used: food)
{
BreakOnHandChange = false,
BreakOnMove = forceFeed,
BreakOnDamage = true,
MovementThreshold = 0.01f,
Expand Down

0 comments on commit fa442e8

Please sign in to comment.