From 51feb56d91429f236e752840de3efdde8e7164ec Mon Sep 17 00:00:00 2001 From: GDN <96800819+GDNgit@users.noreply.github.com> Date: Fri, 13 Jan 2023 14:07:30 -0600 Subject: [PATCH] fixes morph button icons not getting updated (#20156) * fixes morph button icons not getting updated * implied SRC --- code/game/gamemodes/miniantags/morph/morph.dm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/code/game/gamemodes/miniantags/morph/morph.dm b/code/game/gamemodes/miniantags/morph/morph.dm index 2595ceb542a..c31de3089aa 100644 --- a/code/game/gamemodes/miniantags/morph/morph.dm +++ b/code/game/gamemodes/miniantags/morph/morph.dm @@ -139,8 +139,8 @@ */ /mob/living/simple_animal/hostile/morph/proc/add_food(amount) gathered_food += amount - for(var/obj/effect/proc_holder/spell/morph_spell/MS in mind.spell_list) - MS.updateButtonIcon() + for(var/datum/action/spell_action/action in actions) + action.UpdateButtonIcon() /mob/living/simple_animal/hostile/morph/proc/assume()