mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-29 08:08:49 +01:00
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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user