diff --git a/code/modules/client/preferences_savefile.dm b/code/modules/client/preferences_savefile.dm index c952fcee525..35e32d86a43 100644 --- a/code/modules/client/preferences_savefile.dm +++ b/code/modules/client/preferences_savefile.dm @@ -102,9 +102,7 @@ SAVEFILE UPDATING/VERSIONING - 'Simplified', or rather, more coder-friendly ~Car if (current_version < 42) // migrate_body_types(savefile) // SKYRAT EDIT - This'll fuck up savefiles - return // SKYRAT EDIT - Linters won't shut up otherwise, changing this in the next PR. - - return // SKYRAT EDIT - Linters won't shut up otherwise + migrate_mentor() // SKYRAT EDIT - Make mentors alive again /// checks through keybindings for outdated unbound keys and updates them /datum/preferences/proc/check_keybindings() diff --git a/modular_skyrat/master_files/code/modules/client/preferences/tgui_prefs_migration.dm b/modular_skyrat/master_files/code/modules/client/preferences/tgui_prefs_migration.dm index 4ef7e2c4657..461b51c95fe 100644 --- a/modular_skyrat/master_files/code/modules/client/preferences/tgui_prefs_migration.dm +++ b/modular_skyrat/master_files/code/modules/client/preferences/tgui_prefs_migration.dm @@ -98,3 +98,6 @@ GLOBAL_LIST_INIT(bodyparts_to_convert, list("body_markings", \ to_chat(parent, examine_block(span_greentext("Preference migration successful! You may safely interact with the preferences menu."))) tgui_prefs_migration = TRUE WRITE_FILE(S["tgui_prefs_migration"], tgui_prefs_migration) + +/datum/preferences/proc/migrate_mentor() + write_preference(GLOB.preference_entries[/datum/preference/toggle/admin/auto_dementor], FALSE) // Someone thought it was a good idea to make it start at true :)