From 6c8b9b1dfba2395d04024e7c908cd85b8c4b34b3 Mon Sep 17 00:00:00 2001 From: Charlie Nolan Date: Tue, 19 Mar 2024 03:44:29 -0700 Subject: [PATCH] Parrots no longer hold items they don't have. (#24682) * Parrots no longer hold items they don't have. * Whoops. --- code/modules/mob/living/simple_animal/parrot.dm | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/code/modules/mob/living/simple_animal/parrot.dm b/code/modules/mob/living/simple_animal/parrot.dm index 944f426f342..3fe5977d923 100644 --- a/code/modules/mob/living/simple_animal/parrot.dm +++ b/code/modules/mob/living/simple_animal/parrot.dm @@ -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"