mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-19 02:54:41 +01:00
Merge pull request #10007 from Certhic/animal-attack
fixes animals attacking while on help intent
This commit is contained in:
@@ -104,8 +104,8 @@
|
||||
playsound(loc, 'sound/weapons/slash.ogg', 100, 1)
|
||||
|
||||
/obj/attack_animal(mob/living/simple_animal/M)
|
||||
if(!M.melee_damage_upper && !M.obj_damage)
|
||||
M.custom_emote(1, "[M.friendly] [src]")
|
||||
if(M.a_intent == INTENT_HELP || (!M.melee_damage_upper && !M.obj_damage))
|
||||
M.custom_emote(1, "[M.friendly] [src].")
|
||||
return 0
|
||||
else
|
||||
var/play_soundeffect = 1
|
||||
|
||||
Reference in New Issue
Block a user