fix parrots sometimes not appearing dead (#80055)

## About The Pull Request
sometimes parrots will not appear dead

## Why It's Good For The Game
parrots will now appear dead 

## Changelog
🆑
fix: fix parrots not appearing dead sometimes
/🆑
This commit is contained in:
Ben10Omintrix
2023-12-01 14:55:39 -07:00
committed by GitHub
parent bb76600b95
commit d4cdce46fc
@@ -185,10 +185,9 @@ GLOBAL_LIST_INIT(strippable_parrot_items, create_strippable_list(list(
/mob/living/basic/parrot/update_icon_state()
. = ..()
if(HAS_TRAIT(src, TRAIT_PARROT_PERCHED))
icon_state = icon_sit
else
icon_state = icon_living
if(stat == DEAD)
return
icon_state = HAS_TRAIT(src, TRAIT_PARROT_PERCHED) ? icon_sit : icon_living
/// Proc that we just use to see if we're rightclicking something for perch behavior or dropping the item we currently ahve
/mob/living/basic/parrot/proc/on_click(mob/living/basic/source, atom/target, params)