mirror of
https://github.com/vcmi/vcmi.git
synced 2025-06-15 00:05:02 +02:00
Merge pull request #2757 from IvanSavenko/filesystem_refactor
Filesystem refactor - part 1
This commit is contained in:
@ -522,7 +522,7 @@ int LuaContext::loadModule()
|
||||
|
||||
modulePath = "scripts/lib/" + modulePath;
|
||||
|
||||
ResourceID id(modulePath, EResType::LUA);
|
||||
ResourcePath id(modulePath, EResType::LUA);
|
||||
|
||||
if(!loader->existsResource(id))
|
||||
return errorRetVoid("Module not found: "+modulePath);
|
||||
|
Reference in New Issue
Block a user