Skip to content

Commit 5e2273f

Browse files
authored
non-tool tool no longer runtimes on failure (#8616)
1 parent a492bbe commit 5e2273f

File tree

1 file changed

+1
-1
lines changed
  • code/game/objects/items/weapons/tools

1 file changed

+1
-1
lines changed

code/game/objects/items/weapons/tools/_tools.dm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -529,7 +529,7 @@
529529
failtypes["damage"] = 2.5
530530

531531
// You can only fail with tools you are holding
532-
if(user && T.loc == user)
532+
if(user && loc == user)
533533
failtypes["slip"] = 2
534534
failtypes["swing"] = 1
535535
if(ishuman(user))

0 commit comments

Comments
 (0)