Mice retain their colors when they die. (#73508)

## About The Pull Request

When mice die the corpse they leave behind was always grey, they now
drop correctly colored corpses.
## Why It's Good For The Game

Bug fix.
## Changelog
🆑
fix: Mice will now retain their color when they die.
/🆑
This commit is contained in:
NamelessFairy
2023-02-20 15:48:51 -07:00
committed by GitHub
parent ec9b71c8d1
commit 5cd6e1a4b8
@@ -46,8 +46,8 @@
src.tame = tame
if(isnull(body_color))
body_color = pick("brown", "gray", "white")
held_state = "mouse_[body_color]" // not handled by variety element
AddElement(/datum/element/animal_variety, "mouse", body_color, FALSE)
held_state = "mouse_[body_color]" // not handled by variety element
AddElement(/datum/element/animal_variety, "mouse", body_color, FALSE)
AddElement(/datum/element/swabable, CELL_LINE_TABLE_MOUSE, CELL_VIRUS_TABLE_GENERIC_MOB, 1, 10)
AddComponent(/datum/component/squeak, list('sound/effects/mousesqueek.ogg' = 1), 100, extrarange = SHORT_RANGE_SOUND_EXTRARANGE) //as quiet as a mouse or whatever
var/static/list/loc_connections = list(