From 103866975e02d7f7ec57b53b11e6aac5b6f696cb Mon Sep 17 00:00:00 2001 From: Ccomp5950 Date: Sat, 15 Mar 2014 00:57:11 -0500 Subject: [PATCH] HUD-Optimization bugfix, mobs with no clients will update their health HUD image as well. Conflicts: code/modules/mob/living/carbon/human/life.dm --- code/modules/mob/living/carbon/human/life.dm | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/code/modules/mob/living/carbon/human/life.dm b/code/modules/mob/living/carbon/human/life.dm index ac106bea1af..30db4e6ac76 100644 --- a/code/modules/mob/living/carbon/human/life.dm +++ b/code/modules/mob/living/carbon/human/life.dm @@ -1243,11 +1243,10 @@ return 1 proc/handle_regular_hud_updates() - if(!client) return 0 - if(hud_updateflag) handle_hud_list() + if(!client) return 0 for(var/image/hud in client.images) if(copytext(hud.icon_state,1,4) == "hud") //ugly, but icon comparison is worse, I believe