mirror of
https://github.com/vgstation-coders/vgstation13.git
synced 2025-12-10 10:21:11 +00:00
Replaces iswrench() macro with an is_wrench() proc (#25528)
This commit is contained in:
@@ -155,7 +155,7 @@
|
||||
icon_closed = "largebin"
|
||||
|
||||
/obj/structure/closet/crate/bin/attackby(var/obj/item/weapon/W, var/mob/user)
|
||||
if(iswrench(W) && wrenchable())
|
||||
if(W.is_wrench(user) && wrenchable())
|
||||
return wrenchAnchor(user)
|
||||
..()
|
||||
|
||||
@@ -220,7 +220,7 @@
|
||||
emag = "largebinemag"
|
||||
|
||||
/obj/structure/closet/crate/secure/bin/attackby(var/obj/item/weapon/W, var/mob/user)
|
||||
if(iswrench(W) && wrenchable())
|
||||
if(W.is_wrench(user) && wrenchable())
|
||||
return wrenchAnchor(user)
|
||||
..()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user