mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-29 16:18:01 +01:00
[MIRROR] fix parrots sometimes not appearing dead [MDB IGNORE] (#25373)
* 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 /🆑 * fix parrots sometimes not appearing dead --------- Co-authored-by: Ben10Omintrix <138636438+Ben10Omintrix@users.noreply.github.com>
This commit is contained in:
co-authored by
Ben10Omintrix
parent
fa23e55620
commit
3ec4fadddb
@@ -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