mirror of
https://github.com/vcmi/vcmi.git
synced 2025-01-26 03:52:01 +02:00
JsonNode change: Fix test
This commit is contained in:
parent
b605dea6db
commit
5712c3f9f4
@ -95,7 +95,7 @@ static JsonNode getFromArchive(CZipLoader & archive, const std::string & archive
|
||||
|
||||
auto data = archive.load(resource)->readAll();
|
||||
|
||||
JsonNode res(reinterpret_cast<const std::byte *>(data.first.get()), data.second);
|
||||
JsonNode res(reinterpret_cast<const std::byte *>(data.first.get()), data.second, resource.getName());
|
||||
|
||||
return res;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user