From cbbcc0c38664cfb30aeadc00648ee1155f4c258c Mon Sep 17 00:00:00 2001 From: timothyteakettle <59849408+timothyteakettle@users.noreply.github.com> Date: Sun, 6 Dec 2020 00:16:56 +0000 Subject: [PATCH] fix the migration --- code/modules/client/preferences_savefile.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/modules/client/preferences_savefile.dm b/code/modules/client/preferences_savefile.dm index d0f9e9cb73..879b8441f8 100644 --- a/code/modules/client/preferences_savefile.dm +++ b/code/modules/client/preferences_savefile.dm @@ -234,7 +234,7 @@ SAVEFILE UPDATING/VERSIONING - 'Simplified', or rather, more coder-friendly ~Car for(var/i=1, i<= MAXIMUM_LOADOUT_SAVES, i++) loadout_data["SAVE_[i]"] = list() for(var/some_gear_item in saved_loadout_paths) - if(!ispath(some_gear_item)) + if(!ispath(text2path(some_gear_item))) message_admins("Failed to copy item [some_gear_item] to new loadout system when migrating from version [current_version] to 40, issue: item is not a path") continue loadout_data["SAVE_1"] += list(list(LOADOUT_ITEM = some_gear_item)) //for the migration we put their old save into the first save slot, which is loaded by default!