Fix json serialization exception for paths (#31565)

This commit is contained in:
Toastical
2026-02-05 08:12:33 +02:00
committed by GitHub
parent ec7005b7c5
commit c717edeeb8
+1 -1
View File
@@ -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