From 98a546cd210a020cccfb76a2b3bc8bb30ae186d3 Mon Sep 17 00:00:00 2001 From: SkyratBot <59378654+SkyratBot@users.noreply.github.com> Date: Wed, 29 Sep 2021 23:02:48 +0200 Subject: [PATCH] [MIRROR] Fix new photos not saving [MDB IGNORE] (#8485) * Fix new photos not saving (#61750) Fixes #61628 Also turns on LOG_PHOTO in the codebase config, to match with production, and because it barely costs anything anyway. * Fix new photos not saving Co-authored-by: Mothblocks <35135081+Mothblocks@users.noreply.github.com> --- code/modules/photography/_pictures.dm | 2 +- config/config.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/code/modules/photography/_pictures.dm b/code/modules/photography/_pictures.dm index 0b506c19a9c..cc7a404f802 100644 --- a/code/modules/photography/_pictures.dm +++ b/code/modules/photography/_pictures.dm @@ -105,7 +105,7 @@ if(!json[id]) return var/datum/picture/P = new - P.deserialize_json(json[id]) + P.deserialize_list(json[id]) return P /proc/log_path_from_picture_ID(id) diff --git a/config/config.txt b/config/config.txt index a21839aaab2..e7671546e72 100644 --- a/config/config.txt +++ b/config/config.txt @@ -159,7 +159,7 @@ LOG_MANIFEST # LOG_TWITTER ## Enable logging pictures -# LOG_PICTURES +LOG_PICTURES ## log mecha actions # LOG_MECHA