Welding tweaks (#27959)

This commit is contained in:
Verm
2024-06-06 21:59:35 +02:00
committed by null
parent d94a7bb8a0
commit 22c7f4e610
33 changed files with 137 additions and 139 deletions
@@ -217,7 +217,7 @@ public abstract partial class SharedToolSystem : EntitySystem
return false;
// check if the tool allows being used
var beforeAttempt = new ToolUseAttemptEvent(user);
var beforeAttempt = new ToolUseAttemptEvent(user, fuel);
RaiseLocalEvent(tool, beforeAttempt);
if (beforeAttempt.Cancelled)
return false;
@@ -296,4 +296,3 @@ public abstract partial class SharedToolSystem : EntitySystem
public sealed partial class CableCuttingFinishedEvent : SimpleDoAfterEvent;
#endregion