From d456a6ef8a30a2df0861aa2ba8c872681a546333 Mon Sep 17 00:00:00 2001 From: Verkister Date: Wed, 21 Feb 2018 12:48:52 +0200 Subject: [PATCH] Small regenerate_icons tweak. Alright the previous attempt didn't quite work as intended, sorry for that. Anyway I was checking out what sorta things happen to use the legacy support regenerate_icons human proc and found out some of them had connections to circumstances I've heard of causing trouble. Found out all the update calls included in it came with a 0 to prevent each call from doing update_icons on its own before the intended calls at the bottom of the bunch, except for one, UpdateDamageIcon, which also did have the same (var/update_icons=1) skip expectation as the others, causing premature dupe updates in regenerate_icons. --- code/modules/mob/living/carbon/human/update_icons.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/modules/mob/living/carbon/human/update_icons.dm b/code/modules/mob/living/carbon/human/update_icons.dm index 21ed6c0b027..cb395ece826 100644 --- a/code/modules/mob/living/carbon/human/update_icons.dm +++ b/code/modules/mob/living/carbon/human/update_icons.dm @@ -658,7 +658,7 @@ var/global/list/damage_icon_parts = list() update_fire(0) update_water(0) update_surgery(0) - UpdateDamageIcon() + UpdateDamageIcon(0) update_icons_layers(0) update_icons_huds(0) update_icons()