From 7e41bd29be9a2da2cade09d7869c86da499965bd Mon Sep 17 00:00:00 2001 From: SkyratBot <59378654+SkyratBot@users.noreply.github.com> Date: Fri, 27 Nov 2020 00:18:50 +0100 Subject: [PATCH] [MIRROR] Fixes picked up bees, again (#1859) * Fixes picked up bees, again (#55053) Bees don't actually have a set icon state, their entire existence is their mutable appearance. This creates problems when something checks for the bee's icon state, like mob_holders. So, this PR sets their icon_state to the corresponding base bee icon on initialization. Visually identical to before, because the overlays / mutable appearance covers it, but their icon_state is no longer null. * Fixes picked up bees, again Co-authored-by: MrMelbert <51863163+MrMelbert@users.noreply.github.com> --- code/modules/mob/living/simple_animal/hostile/bees.dm | 1 + 1 file changed, 1 insertion(+) diff --git a/code/modules/mob/living/simple_animal/hostile/bees.dm b/code/modules/mob/living/simple_animal/hostile/bees.dm index 278c24a8830..be0bedb4e60 100644 --- a/code/modules/mob/living/simple_animal/hostile/bees.dm +++ b/code/modules/mob/living/simple_animal/hostile/bees.dm @@ -122,6 +122,7 @@ if(beegent?.color) col = beegent.color + icon_state = "[icon_base]_base" add_overlay("[icon_base]_base") var/static/mutable_appearance/greyscale_overlay