[MIRROR] winsets (#12920)

Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com>
Co-authored-by: ItsSelis <12716288+ItsSelis@users.noreply.github.com>
This commit is contained in:
CHOMPStation2StaffMirrorBot
2026-07-22 00:14:23 +02:00
committed by GitHub
co-authored by Kashargul ItsSelis
parent b3981c0b11
commit cf57d9d4ed
7 changed files with 29 additions and 57 deletions
@@ -549,7 +549,6 @@
return TOPIC_REFRESH_UPDATE_PREVIEW
if("marking_remove")
var/M = params["marking"]
winshow(user, "prefs_markings_subwindow", FALSE)
pref.body_markings -= M
return TOPIC_REFRESH_UPDATE_PREVIEW
if("marking_color")
@@ -223,7 +223,8 @@
return assoc_to_keys(GLOB.tail_layer_options)
/datum/preference/choiced/human/tail_layering/create_default_value()
return GLOB.tail_layer_options[2]
var/list/possible = get_choices()
return possible[2]
/datum/preference/choiced/human/tail_layering/apply_to_human(mob/living/carbon/human/target, value)
target.tail_layering = GLOB.tail_layer_options[value]