close enough

This commit is contained in:
Timothy Teakettle
2020-12-12 23:48:21 +00:00
parent 3a017d1173
commit 7dfb097bcc
2 changed files with 6 additions and 1 deletions
+4 -1
View File
@@ -27,6 +27,7 @@
COMPILE_OVERLAYS(mannequin)
CHECK_TICK
var/icon/capture = getFlatIcon(mannequin)
capture.Shift(WEST,16,FALSE)
CHECK_TICK
combined.Insert(capture, dir = d)
CHECK_TICK
@@ -61,10 +62,12 @@
for(var/i=1, i<=max_save_slots, i++)
S.cd = "/character[i]"
S["real_name"] >> name
characters += name
if(name)
characters[name] = i
var/chosen_name = input(C, "Which character do you wish to use as your appearance.") as anything in characters
if(chosen_name)
target_prefs = new(C)
message_admins("reverse index is [characters[chosen_name]]")
if(!target_prefs.load_character(characters[chosen_name], TRUE))
target_prefs = C.prefs