Fixes welders costing welding fuel for empty clicks (#23390)

* Nice

* Yeah this is better
This commit is contained in:
DGamerL
2023-12-06 15:36:37 +00:00
committed by GitHub
parent aa42de1e4f
commit 7a53a3e90c
+2
View File
@@ -142,6 +142,8 @@
. = ..()
if(!tool_enabled)
return
if(!proximity || isturf(target)) // We don't want to take away fuel when we hit something far away
return
remove_fuel(0.5)
/obj/item/weldingtool/use_tool(atom/target, user, delay, amount, volume, datum/callback/extra_checks)