mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-22 20:48:56 +01:00
Resetting auto dementor preference to FALSE for everyone (#9446)
* Allows any character to use the body type setting regardless of gender * Feex * Another feex * Avoiding savefile corruption * Auto-dementor pref fix * My brain is very big sometimes Co-authored-by: Thunder12345 <Thunder12345@users.noreply.github.com>
This commit is contained in:
co-authored by
Thunder12345
parent
43a3bf4885
commit
1dfca2a73a
@@ -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()
|
||||
|
||||
@@ -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 :)
|
||||
|
||||
Reference in New Issue
Block a user