mirror of https://github.com/axmolengine/axmol.git
Add a log
This commit is contained in:
parent
90907f451e
commit
46e5b72827
|
@ -285,6 +285,7 @@ int LuaStack::executeScriptFile(const char* filename)
|
||||||
fullPath = FileUtils::getInstance()->fullPathForFilename(restructuringFileName);
|
fullPath = FileUtils::getInstance()->fullPathForFilename(restructuringFileName);
|
||||||
if (!FileUtils::getInstance()->isFileExist(fullPath))
|
if (!FileUtils::getInstance()->isFileExist(fullPath))
|
||||||
{
|
{
|
||||||
|
CCLOG("executeScriptFile function can't find the file");
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue