mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-11 18:53:06 +00:00
Bugfix.
This commit is contained in:
@@ -105,8 +105,11 @@
|
|||||||
/obj/item/policetape/attack_hand(mob/user as mob)
|
/obj/item/policetape/attack_hand(mob/user as mob)
|
||||||
breaktape(null, user)
|
breaktape(null, user)
|
||||||
|
|
||||||
|
/obj/item/policetape/attack_paw(mob/user as mob)
|
||||||
|
breaktape(1,user)
|
||||||
|
|
||||||
/obj/item/policetape/proc/breaktape(obj/item/weapon/W as obj, mob/user as mob)
|
/obj/item/policetape/proc/breaktape(obj/item/weapon/W as obj, mob/user as mob)
|
||||||
if(!W && user.a_intent != "help" || (!is_sharp(W) && src.allowed(user)) ||(!is_cut(W) && !src.allowed(user)))
|
if(user.a_intent == "help" && ((!is_sharp(W) && src.allowed(user)) ||(!is_cut(W) && !src.allowed(user))))
|
||||||
user << "You can't break the tape with that!"
|
user << "You can't break the tape with that!"
|
||||||
return
|
return
|
||||||
user.show_viewers(text("\blue [] breaks the police tape!", user))
|
user.show_viewers(text("\blue [] breaks the police tape!", user))
|
||||||
|
|||||||
Reference in New Issue
Block a user