mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-07-19 20:15:47 +01:00
removes typecasting from zipcuffs cutting
This commit is contained in:
@@ -117,8 +117,7 @@
|
||||
/obj/item/weapon/wirecutters/attack(mob/living/carbon/C, mob/user)
|
||||
if(istype(C) && C.handcuffed && istype(C.handcuffed, /obj/item/weapon/restraints/handcuffs/cable))
|
||||
user.visible_message("<span class='notice'>[user] cuts [C]'s restraints with [src]!</span>")
|
||||
var/obj/item/I = C.handcuffed
|
||||
qdel(I)
|
||||
qdel(C.handcuffed)
|
||||
C.handcuffed = null
|
||||
C.update_inv_handcuffed(0)
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user