Replaces iswrench() macro with an is_wrench() proc (#25528)

This commit is contained in:
jknpj
2019-12-28 13:29:40 -03:00
committed by Kurfursten
parent 9fce9621b0
commit 89abfd45ba
105 changed files with 151 additions and 147 deletions

View File

@@ -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)
..()