Objects such as lighters/welders are now able to be dropped in disposal 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 <misterquatermain@pm.me>
(cherry picked from commit ebddef7675269ea4c354673a888a2c8f6e418548)
This commit is contained in:
Jake Huxell 2024-03-26 19:13:58 -04:00 committed by NullWanderer
parent c331f40317
commit efcdc42666
No known key found for this signature in database
GPG Key ID: 65CF92BD1D26F4AC
1 changed files with 2 additions and 2 deletions

View File

@ -152,9 +152,9 @@ namespace Content.Server.Tools
{
_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)