From e2e7b1e9cc0f3c20a0b9f8e4eef49cc778d2b491 Mon Sep 17 00:00:00 2001 From: Garen Crownguard <22408776+Garen7@users.noreply.github.com> Date: Mon, 1 Jul 2019 03:02:48 -0500 Subject: [PATCH] removes outdated quirks from save files --- code/modules/client/preferences_savefile.dm | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/code/modules/client/preferences_savefile.dm b/code/modules/client/preferences_savefile.dm index 763caa72bef..ad50b11c554 100644 --- a/code/modules/client/preferences_savefile.dm +++ b/code/modules/client/preferences_savefile.dm @@ -5,7 +5,7 @@ // You do not need to raise this if you are adding new values that have sane defaults. // Only raise this value when changing the meaning/format/name/layout of an existing value // where you would want the updater procs below to run -#define SAVEFILE_VERSION_MAX 22 +#define SAVEFILE_VERSION_MAX 23 /* SAVEFILE UPDATING/VERSIONING - 'Simplified', or rather, more coder-friendly ~Carn @@ -56,7 +56,7 @@ SAVEFILE UPDATING/VERSIONING - 'Simplified', or rather, more coder-friendly ~Car var/job_civilian_high = 0 var/job_civilian_med = 0 var/job_civilian_low = 0 - + var/job_medsci_high = 0 var/job_medsci_med = 0 var/job_medsci_low = 0 @@ -104,6 +104,10 @@ SAVEFILE UPDATING/VERSIONING - 'Simplified', or rather, more coder-friendly ~Car new_value = JP_LOW if(new_value) job_preferences[initial(J.title)] = new_value + if(current_version < 23) + all_quirks -= "Physically Obstructive" + all_quirks -= "Neat" + all_quirks -= "NEET" /datum/preferences/proc/load_path(ckey,filename="preferences.sav") if(!ckey)