Skip to content

Commit

Permalink
Objects such as lighters/welders are now able to be dropped in dispos…
Browse files Browse the repository at this point in the history
…al units. (#26463)

Don't always mark after interact event as handled for welder tools. Done with a view towards allowing disposal interaction post tool system handling.

Co-authored-by: MQuatermain <[email protected]>
  • Loading branch information
Huxellberger and MQuatermain authored Mar 26, 2024
1 parent 21583f9 commit ebddef7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Content.Server/Tools/ToolSystem.Welder.cs
Original file line number Diff line number Diff line change
Expand Up @@ -152,9 +152,9 @@ private void OnWelderAfterInteract(Entity<WelderComponent> entity, ref AfterInte
{
_popup.PopupEntity(Loc.GetString("welder-component-no-fuel-in-tank", ("owner", args.Target)), entity, args.User);
}
}

args.Handled = true;
args.Handled = true;
}
}

private void OnWelderToolUseAttempt(Entity<WelderComponent> entity, ref DoAfterAttemptEvent<ToolDoAfterEvent> args)
Expand Down

0 comments on commit ebddef7

Please sign in to comment.