Parrots no longer hold items they don't have. (#24682)

* Parrots no longer hold items they don't have.

* Whoops.
This commit is contained in:
Charlie Nolan
2024-03-19 10:44:29 +00:00
committed by GitHub
parent 5793caa857
commit 6c8b9b1dfb
@@ -284,6 +284,10 @@
/mob/living/simple_animal/parrot/Life(seconds, times_fired)
..()
if(held_item?.loc != src)
held_item = null
update_held_icon()
//Sprite and AI update for when a parrot gets pulled
if(pulledby && stat == CONSCIOUS)
icon_state = "parrot_fly"