Merge pull request #8801 from unid15/puding

Replace tool istypes() with macros
This commit is contained in:
clusterfack
2016-03-14 01:45:40 -05:00
140 changed files with 296 additions and 296 deletions

View File

@@ -493,7 +493,7 @@
if(user.drop_item(W, src.loc))
to_chat(user, "<span class='notice'>You attach [W] to [src].</span>")
return
else if(istype(W, /obj/item/weapon/wirecutters))
else if(iswirecutter(W))
if(rigged)
to_chat(user, "<span class='notice'>You cut away the wiring.</span>")
playsound(loc, 'sound/items/Wirecutter.ogg', 100, 1)