mirror of
https://github.com/vcmi/vcmi.git
synced 2025-10-08 23:22:25 +02:00
fixed scope
This commit is contained in:
@@ -351,7 +351,7 @@ public:
|
|||||||
{
|
{
|
||||||
Key key = Key::decode(keyStr);
|
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);
|
value[key] = T(index);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user