Welding tweaks (#27959)
This commit is contained in:
@@ -79,7 +79,7 @@ public sealed partial class AnchorableSystem : EntitySystem
|
||||
return;
|
||||
|
||||
// If the used entity doesn't have a tool, return early.
|
||||
if (!TryComp(args.Used, out ToolComponent? usedTool) || !usedTool.Qualities.Contains(anchorable.Tool))
|
||||
if (!TryComp(args.Used, out ToolComponent? usedTool) || !_tool.HasQuality(args.Used, anchorable.Tool, usedTool))
|
||||
return;
|
||||
|
||||
args.Handled = true;
|
||||
|
||||
Reference in New Issue
Block a user