Adds click cooldown to display case

This commit is contained in:
Yoshax
2016-05-13 01:34:19 +01:00
parent 2ba17c6c88
commit 939073a0d2

View File

@@ -55,6 +55,9 @@
/obj/structure/displaycase/attackby(obj/item/weapon/W as obj, mob/user as mob) /obj/structure/displaycase/attackby(obj/item/weapon/W as obj, mob/user as mob)
user.setClickCooldown(DEFAULT_ATTACK_COOLDOWN)
user.do_attack_animation(src)
playsound(loc, 'sound/effects/Glasshit.ogg', 50, 1)
src.health -= W.force src.health -= W.force
src.healthcheck() src.healthcheck()
..() ..()