From 57a49838eca8b5e2638ed5fd3d6c91a5c488d72a Mon Sep 17 00:00:00 2001 From: Laserlicht <13953785+Laserlicht@users.noreply.github.com> Date: Tue, 30 Sep 2025 20:45:38 +0200 Subject: [PATCH] fixed scope --- lib/serializer/JsonSerializeFormat.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/serializer/JsonSerializeFormat.h b/lib/serializer/JsonSerializeFormat.h index 53b2aa69d..4365df5e6 100644 --- a/lib/serializer/JsonSerializeFormat.h +++ b/lib/serializer/JsonSerializeFormat.h @@ -351,7 +351,7 @@ public: { Key key = Key::decode(keyStr); - LIBRARY->identifiers()->requestIdentifier(node.getModScope(), Key::entityType(), keyStr, [&value, key](int32_t index) { + LIBRARY->identifiers()->requestIdentifier(jsonVal.getModScope(), Key::entityType(), keyStr, [&value, key](int32_t index) { value[key] = T(index); }); }