From 18c29d8647af838cd8568d32e8e7a09c54d65c22 Mon Sep 17 00:00:00 2001 From: Leshana Date: Sat, 17 Mar 2018 23:00:37 -0400 Subject: [PATCH] Fix resize() causing HUD duplication. Modifying the images makes it so they can't be cut from overlays. Use the procs for this purpose. --- code/modules/vore/resizing/resize_vr.dm | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/code/modules/vore/resizing/resize_vr.dm b/code/modules/vore/resizing/resize_vr.dm index 05f9a377e24..0cd997cdfa1 100644 --- a/code/modules/vore/resizing/resize_vr.dm +++ b/code/modules/vore/resizing/resize_vr.dm @@ -84,9 +84,10 @@ var/const/RESIZE_A_SMALLTINY = (RESIZE_SMALL + RESIZE_TINY) / 2 /mob/living/carbon/human/resize(var/new_size, var/animate = TRUE) if(..()) return 1 var/new_y_offset = 32 * (size_multiplier - 1) - for(var/I in hud_list) - var/image/HI = I + for(var/index = 1 to hud_list.len) + var/image/HI = grab_hud(index) HI.pixel_y = new_y_offset + apply_hud(index, HI) // Optimize mannequins - never a point to animating or doing HUDs on these. /mob/living/carbon/human/dummy/mannequin/resize(var/new_size)