From eab47bb6ae2a01fb80c7eacbf45b6b9c172e20e8 Mon Sep 17 00:00:00 2001 From: timothyteakettle <59849408+timothyteakettle@users.noreply.github.com> Date: Fri, 7 May 2021 00:43:33 +0100 Subject: [PATCH] Update preferences_savefile.dm --- code/modules/client/preferences_savefile.dm | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/code/modules/client/preferences_savefile.dm b/code/modules/client/preferences_savefile.dm index 9e7c942967..285f34ddd4 100644 --- a/code/modules/client/preferences_savefile.dm +++ b/code/modules/client/preferences_savefile.dm @@ -47,7 +47,6 @@ SAVEFILE UPDATING/VERSIONING - 'Simplified', or rather, more coder-friendly ~Car addtimer(CALLBACK(src, .proc/force_reset_keybindings), 30) //No mob available when this is run, timer allows user choice. /datum/preferences/proc/update_character(current_version, savefile/S) - message_admins(current_version) if(current_version < 19) pda_style = "mono" if(current_version < 20) @@ -297,7 +296,6 @@ SAVEFILE UPDATING/VERSIONING - 'Simplified', or rather, more coder-friendly ~Car S["be_special"] << L if(current_version < 51) // rp markings means markings are now stored as a list, lizard markings now mam like the rest - message_admins("migrating") var/marking_type var/species_id = S["species"] var/datum/species/actual_species = GLOB.species_datums[species_id] @@ -320,9 +318,7 @@ SAVEFILE UPDATING/VERSIONING - 'Simplified', or rather, more coder-friendly ~Car var/list/marking_list = list() for(var/part in list(ARM_LEFT, ARM_RIGHT, LEG_LEFT, LEG_RIGHT, CHEST, HEAD)) marking_list += list(list(part, old_marking_value, color_list.Copy())) - message_admins("saved data of length [length(marking_list)]") - S[marking_type] = safe_json_encode(marking_list) - message_admins("final json code is: [S[marking_type]]") + features["mam_body_markings"] = safe_json_encode(marking_list) /datum/preferences/proc/load_path(ckey,filename="preferences.sav") if(!ckey)