This commit is contained in:
silicons
2020-07-20 11:53:33 -07:00
parent 526d257410
commit 692656b02d
12 changed files with 18 additions and 23 deletions
+2 -2
View File
@@ -103,7 +103,7 @@
. = ..()
if(.)
return
if(!M.CheckActionCooldown(CLICK_CD_MELEE))
if(!user.CheckActionCooldown(CLICK_CD_MELEE))
return
user.do_attack_animation(src, ATTACK_EFFECT_KICK)
user.visible_message("<span class='warning'>[user] hits [src].</span>", null, null, COMBAT_MESSAGE_RANGE)
@@ -112,7 +112,7 @@
take_damage(rand(5,10), BRUTE, "melee", 1)
/obj/structure/grille/attack_alien(mob/living/user)
if(!M.CheckActionCooldown(CLICK_CD_MELEE))
if(!user.CheckActionCooldown(CLICK_CD_MELEE))
return
user.do_attack_animation(src)
user.visible_message("<span class='warning'>[user] mangles [src].</span>", null, null, COMBAT_MESSAGE_RANGE)