浏览代码

fixed scope

Laserlicht 3 周之前
父节点
当前提交
57a49838ec
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      lib/serializer/JsonSerializeFormat.h

+ 1 - 1
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);
 				});
 			}