diff --git a/code/modules/client/preferences_savefile.dm b/code/modules/client/preferences_savefile.dm index 20d7e445..ebd93b81 100644 --- a/code/modules/client/preferences_savefile.dm +++ b/code/modules/client/preferences_savefile.dm @@ -633,8 +633,8 @@ SAVEFILE UPDATING/VERSIONING - 'Simplified', or rather, more coder-friendly ~Car return 1 -#undef SAVEFILE_VERSION_MAX -#undef SAVEFILE_VERSION_MIN +//#undef SAVEFILE_VERSION_MAX +//#undef SAVEFILE_VERSION_MIN #ifdef TESTING //DEBUG diff --git a/code/modules/mob/dead/new_player/login.dm b/code/modules/mob/dead/new_player/login.dm index 88755650..c28e780a 100644 --- a/code/modules/mob/dead/new_player/login.dm +++ b/code/modules/mob/dead/new_player/login.dm @@ -32,3 +32,14 @@ else postfix = "soon" to_chat(src, "Please set up your character and select \"Ready\". The game will start [postfix].") + + if(client.prefs.path) //Hyper edit: notify of a newer preference version + var/savefile/S = new /savefile(client.prefs.path) + if(S) + S.cd = "/" + var/slot + S["default_slot"] >> slot + if(slot) + S.cd = "/character[slot]" + if(S["version"] < SAVEFILE_VERSION_MAX) + to_chat(src, "Your characters are outdated from recent updates. Please make sure if everything is within reasonable levels.")