From ab0de5d92053bfcc699b4de2673a126b25535818 Mon Sep 17 00:00:00 2001 From: Alphas00 <154434082+Alphas00@users.noreply.github.com> Date: Tue, 28 Jan 2025 22:32:15 +0100 Subject: [PATCH] Update GainStation13/code/modules/resize/height_limits.dm Co-authored-by: sheepishgoat <100518708+sheepishgoat@users.noreply.github.com> --- GainStation13/code/modules/resize/height_limits.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/GainStation13/code/modules/resize/height_limits.dm b/GainStation13/code/modules/resize/height_limits.dm index 85f68cc852..5675249da3 100644 --- a/GainStation13/code/modules/resize/height_limits.dm +++ b/GainStation13/code/modules/resize/height_limits.dm @@ -44,7 +44,7 @@ GLOBAL_LIST_EMPTY(see_toggle_smallsprite) * * If the size_multiplier was not higher than one then remove the mob from the list of smallsprite mobs */ /mob/living/proc/regenerate_smallsprite() - if(alternate_appearances && alternate_appearances["gscode_smallsprite"]) + if(length(alternate_appearances) && alternate_appearances["gscode_smallsprite"]) for(var/mob/M in GLOB.see_toggle_smallsprite) var/datum/atom_hud/alternate_appearance/AA = alternate_appearances["gscode_smallsprite"] AA.remove_from_single_hud(M, src)