1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-10-08 23:22:25 +02:00

fixed scope

This commit is contained in:
Laserlicht
2025-09-30 20:45:38 +02:00
parent 6fa342321c
commit 57a49838ec

View File

@@ -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);
});
}