[MIRROR] Fixes mousetraps causing mice to become invisible when splatted (#7954)

* Fixes mousetraps causing mice to become invisible when splatted  (#61201)

* Fixes mousetraps causing mice to become invisible when splatted

Co-authored-by: aaaa1023 <74441292+aaaa1023@users.noreply.github.com>
This commit is contained in:
SkyratBot
2021-09-03 22:55:50 +01:00
committed by GitHub
co-authored by aaaa1023
parent c74a31866c
commit 32a9bd8424
@@ -34,7 +34,9 @@
/mob/living/simple_animal/mouse/Initialize()
. = ..()
AddElement(/datum/element/animal_variety, "mouse", pick("brown","gray","white"), FALSE)
if(body_color == null)
body_color = pick("brown","gray","white")
AddElement(/datum/element/animal_variety, "mouse", body_color, FALSE)
AddComponent(/datum/component/squeak, list('sound/effects/mousesqueek.ogg' = 1), 100, extrarange = SHORT_RANGE_SOUND_EXTRARANGE) //as quiet as a mouse or whatever
add_cell_sample()