From c7a3d1956a1e15d90022de9c8677b4ffe35d38b4 Mon Sep 17 00:00:00 2001 From: Doxxmedearly <38594443+Doxxmedearly@users.noreply.github.com> Date: Tue, 12 Jan 2021 04:23:36 -0600 Subject: [PATCH] Dead schlorrgos can't eough (#10967) --- code/modules/mob/living/simple_animal/simple_animal.dm | 2 +- html/changelogs/doxxmedearly - eough-oh.yml | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) create mode 100644 html/changelogs/doxxmedearly - eough-oh.yml diff --git a/code/modules/mob/living/simple_animal/simple_animal.dm b/code/modules/mob/living/simple_animal/simple_animal.dm index 875f0bfb69b..780d11b83a7 100644 --- a/code/modules/mob/living/simple_animal/simple_animal.dm +++ b/code/modules/mob/living/simple_animal/simple_animal.dm @@ -635,7 +635,7 @@ mob/living/simple_animal/bullet_act(var/obj/item/projectile/Proj) set name = "Make Sound" set category = "Abilities" - if((usr && usr.stat == DEAD) || !make_sound) + if(stat || !make_sound) //Can't make noise if there's no noise or if you're unconscious/dead return if(usr && !sound_time) diff --git a/html/changelogs/doxxmedearly - eough-oh.yml b/html/changelogs/doxxmedearly - eough-oh.yml new file mode 100644 index 00000000000..f5c0f60b23a --- /dev/null +++ b/html/changelogs/doxxmedearly - eough-oh.yml @@ -0,0 +1,6 @@ +author: Doxxmedearly + +delete-after: True + +changes: + - bugfix: "Animals no longer can make noises when dead or unconscious."