mirror of
https://github.com/vgstation-coders/vgstation13.git
synced 2025-12-10 10:21:11 +00:00
Merge pull request #8801 from unid15/puding
Replace tool istypes() with macros
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user