mirror of
https://github.com/vcmi/vcmi.git
synced 2025-07-05 00:49:09 +02:00
Use ResourcePath for referencing texts and json's
This commit is contained in:
@ -110,7 +110,7 @@ void InterfaceObjectConfigurable::build(const JsonNode &config)
|
||||
{
|
||||
if (!config["library"].isNull())
|
||||
{
|
||||
const JsonNode library(ResourcePath(config["library"].String()));
|
||||
const JsonNode library(JsonPath::fromJson(config["library"]));
|
||||
loadCustomBuilders(library);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user