mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-25 22:42:04 +02:00
Update lib/ScriptHandler.cpp
Co-authored-by: Andrii Danylchenko <danilchenko.andrij@gmail.com>
This commit is contained in:
committed by
GitHub
parent
6d245a7821
commit
d74127cb84
@@ -89,7 +89,7 @@ void ScriptImpl::serializeJson(vstd::CLoggerBase * logger, JsonSerializeFormat &
|
|||||||
{
|
{
|
||||||
resolveHost();
|
resolveHost();
|
||||||
|
|
||||||
ResourceID sourcePathId("SCRIPTS/"+sourcePath);
|
ResourceID sourcePathId("SCRIPTS/" + sourcePath);
|
||||||
|
|
||||||
auto rawData = CResourceHandler::get()->load(sourcePathId)->readAll();
|
auto rawData = CResourceHandler::get()->load(sourcePathId)->readAll();
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user