Skip to content

Commit

Permalink
Don't always mark after interact event as handled for welder tools. D…
Browse files Browse the repository at this point in the history
…one with a view towards allowing disposal interaction post tool system handling.
  • Loading branch information
MQuatermain committed Mar 26, 2024
1 parent 4630e94 commit dddca88
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 dddca88

Please sign in to comment.