fix charsetup tail layering (#16166)

This commit is contained in:
Killian
2024-08-11 20:17:47 +01:00
committed by GitHub
parent ac28845127
commit de3ebb5333
2 changed files with 6 additions and 5 deletions
+5 -2
View File
@@ -290,7 +290,7 @@ var/list/preferences_datums = list()
popup.open(FALSE) // Skip registring onclose on the browser pane
onclose(user, "preferences_window", src) // We want to register on the window itself
/datum/preferences/proc/update_character_previews(mutable_appearance/MA)
/datum/preferences/proc/update_character_previews(var/mob/living/carbon/human/mannequin)
if(!client)
return
@@ -319,8 +319,11 @@ var/list/preferences_datums = list()
O.pref = src
LAZYSET(char_render_holders, "[D]", O)
client.screen |= O
mannequin.set_dir(D)
mannequin.update_tail_showing()
mannequin.ImmediateOverlayUpdate()
var/mutable_appearance/MA = new(mannequin)
O.appearance = MA
O.dir = D
O.screen_loc = preview_screen_locs["[D]"]
/datum/preferences/proc/show_character_previews()