From 368f6ef744728c113f2b1a453b97c46dc4a056c4 Mon Sep 17 00:00:00 2001 From: Walter0o Date: Sat, 23 Aug 2014 16:23:23 +0200 Subject: [PATCH] removes duplicate handle_hud_list() --- code/modules/mob/living/carbon/human/life.dm | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/code/modules/mob/living/carbon/human/life.dm b/code/modules/mob/living/carbon/human/life.dm index 0080f217f95..b0869e969b3 100644 --- a/code/modules/mob/living/carbon/human/life.dm +++ b/code/modules/mob/living/carbon/human/life.dm @@ -1188,15 +1188,13 @@ return 1 proc/handle_regular_hud_updates() - if(hud_updateflag) + if(hud_updateflag) // update our mob's hud overlays, AKA what others see flaoting above our head handle_hud_list() + // now handle what we see on our screen - 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