From c717edeeb89d9dbd0740e402e7e2a25efc2b457a Mon Sep 17 00:00:00 2001 From: Toastical <20125180+Toastical@users.noreply.github.com> Date: Thu, 5 Feb 2026 08:12:33 +0200 Subject: [PATCH] Fix json serialization exception for paths (#31565) --- code/modules/persistence/persistence.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/modules/persistence/persistence.dm b/code/modules/persistence/persistence.dm index 316130d1566..095fdb6d2de 100644 --- a/code/modules/persistence/persistence.dm +++ b/code/modules/persistence/persistence.dm @@ -76,7 +76,7 @@ in their list throw EXCEPTION("No 'type' field in the data") var/path = text2path(data["type"]) if(!path) - throw EXCEPTION("Path not found: [path]") + throw EXCEPTION("Path not found: [data["type"]]") // Since Initialize() eats the first argument // we need to pass loc twice for organs, otherwise