Merge pull request #14460 from Kyep/simpleanimal_attackspeed_fix

Fixes #8006 - simple animals have no attack cooldown on spacepods
This commit is contained in:
AffectedArc07
2020-09-27 10:12:53 +01:00
committed by GitHub
+1
View File
@@ -204,6 +204,7 @@
deal_damage(30)
/obj/spacepod/attack_animal(mob/living/simple_animal/user)
user.changeNext_move(CLICK_CD_MELEE)
if((user.a_intent == INTENT_HELP && user.ckey) || user.melee_damage_upper == 0)
user.custom_emote(1, "[user.friendly] [src].")
return FALSE