mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-10 18:22:39 +00:00
fixes the input for customized markings not defaulting to their color (#6764)
This commit is contained in:
@@ -1004,7 +1004,7 @@ var/global/list/valid_bloodtypes = list("A+", "A-", "B+", "B-", "AB+", "AB-", "O
|
||||
return TOPIC_NOACTION
|
||||
var/zone = href_list["zone"]
|
||||
pref.body_markings[marking]["color"] = null //turn off the color button outside the submenu
|
||||
var/mark_color = input(user, "Choose the [marking] color: ", "Character Preference", pref.body_markings[marking]["color"]) as color|null
|
||||
var/mark_color = input(user, "Choose the [marking] color: ", "Character Preference", pref.body_markings[marking][zone]["color"]) as color|null
|
||||
if(mark_color && CanUseTopic(user))
|
||||
pref.body_markings[marking][zone]["color"] = "[mark_color]"
|
||||
markings_subwindow(user, marking)
|
||||
|
||||
Reference in New Issue
Block a user