mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-24 05:30:05 +01:00
Replaces istype checks for mining tools with tool_behavior checks
This commit is contained in:
@@ -198,7 +198,7 @@ GLOBAL_LIST_INIT(sand_recipes, list(\
|
||||
wires.interact(user)
|
||||
return
|
||||
|
||||
if(istype(I, /obj/item/pickaxe) || istype(I, /obj/item/resonator) || I.force >= 10)
|
||||
if(I.tool_behaviour == TOOL_MINING || istype(I, /obj/item/resonator) || I.force >= 10)
|
||||
GibtoniteReaction(user)
|
||||
return
|
||||
if(primed)
|
||||
|
||||
Reference in New Issue
Block a user