Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

udpate savefile 17.02.2024 #12853

Merged
merged 3 commits into from
Feb 17, 2024
Merged
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion code/modules/client/preferences_savefile.dm
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

//This is the current version, anything below this will attempt to update (if it's not obsolete)

#define SAVEFILE_VERSION_MAX 48
#define SAVEFILE_VERSION_MAX 49

//For repetitive updates, should be the same or below SAVEFILE_VERSION_MAX
//set this to (current SAVEFILE_VERSION_MAX)+1 when you need to update:
Expand Down Expand Up @@ -264,6 +264,12 @@ SAVEFILE UPDATING/VERSIONING - 'Simplified', or rather, more coder-friendly ~Car

if(current_version < 48)
S["b_type"] << null

if(current_version < 49)
if("Imposter" in be_role)
be_role -= "Imposter"
S["be_role"] << be_role
Deahaka marked this conversation as resolved.
Show resolved Hide resolved

//
/datum/preferences/proc/repetitive_updates_character(current_version, savefile/S)

Expand Down
Loading