From 2ed2fb4a718196c6e7771ca646084f73f7785751 Mon Sep 17 00:00:00 2001 From: tattle <66640614+dragomagol@users.noreply.github.com> Date: Sun, 19 Nov 2023 10:52:51 -0800 Subject: [PATCH] Fixes the admin painting manager (#79842) ## About The Pull Request I mucked this up a few weeks ago, wrote the fix, then got busy and forgot about it. This fixes the bluescreen that appears when admins try to look at the painting manager. ## Changelog :cl: Tattle fix: admin painting manager works again /:cl: --------- Co-authored-by: tattle Co-authored-by: MrMelbert <51863163+MrMelbert@users.noreply.github.com> --- code/controllers/subsystem/persistent_paintings.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/controllers/subsystem/persistent_paintings.dm b/code/controllers/subsystem/persistent_paintings.dm index 35656e2a56d..4a399bdc4ff 100644 --- a/code/controllers/subsystem/persistent_paintings.dm +++ b/code/controllers/subsystem/persistent_paintings.dm @@ -168,7 +168,7 @@ SUBSYSTEM_DEF(persistent_paintings) var/list/pdata = painting.to_json() pdata["ref"] = REF(painting) - admin_painting_data += pdata + UNTYPED_LIST_ADD(admin_painting_data, pdata) /** * Generates painting data ready to be consumed by ui.