Merge pull request #16284 from Kashargul/prefsAgain

fix trait loading
This commit is contained in:
Novacat
2024-09-08 13:08:32 -04:00
committed by GitHub
2 changed files with 3 additions and 4 deletions
+3 -1
View File
@@ -563,6 +563,8 @@
/proc/text2path_list(list/L)
. = list()
for(var/key in L)
var/path = text2path(key)
var/path = key
if(!ispath(path))
path = text2path(key)
if(!isnull(path))
. += path
-3
View File
@@ -386,9 +386,7 @@ var/list/preferences_datums = list()
if(href_list["save"])
save_character()
save_preferences()
else if(href_list["reload"])
load_preferences()
load_character()
attempt_vr(client.prefs_vr,"load_vore","") //VOREStation Edit
sanitize_preferences()
@@ -527,7 +525,6 @@ var/list/preferences_datums = list()
if(tgui_alert(user, "Are you sure you want to override slot [slotnum], [choice]'s savedata?", "Confirm Override", list("No", "Yes")) == "Yes")
overwrite_character(slotnum)
sanitize_preferences()
save_preferences()
save_character()
attempt_vr(user.client?.prefs_vr,"load_vore","")
ShowChoices(user)