From bc2c65839543825c1b8c2a458c221b7c9a2a3358 Mon Sep 17 00:00:00 2001 From: Timothy Teakettle <59849408+timothyteakettle@users.noreply.github.com> Date: Thu, 27 Aug 2020 18:01:08 +0100 Subject: [PATCH] json --- code/modules/client/preferences_savefile.dm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/code/modules/client/preferences_savefile.dm b/code/modules/client/preferences_savefile.dm index ecf11f180b..f253592765 100644 --- a/code/modules/client/preferences_savefile.dm +++ b/code/modules/client/preferences_savefile.dm @@ -514,7 +514,7 @@ SAVEFILE UPDATING/VERSIONING - 'Simplified', or rather, more coder-friendly ~Car S["scars3"] >> scars_list["3"] S["scars4"] >> scars_list["4"] S["scars5"] >> scars_list["5"] - S["modified_limbs"] >> modified_limbs + json_decode(S["modified_limbs"]) >> modified_limbs //Custom names @@ -871,7 +871,7 @@ SAVEFILE UPDATING/VERSIONING - 'Simplified', or rather, more coder-friendly ~Car WRITE_FILE(S["scars3"] , scars_list["3"]) WRITE_FILE(S["scars4"] , scars_list["4"]) WRITE_FILE(S["scars5"] , scars_list["5"]) - WRITE_FILE(S["modified_limbs"] , modified_limbs) + WRITE_FILE(S["modified_limbs"] , json_encode(modified_limbs)) //gear loadout if(chosen_gear.len)