mirror of https://github.com/axmolengine/axmol.git
Fixing run and reset buttons being enabled by default
This commit is contained in:
parent
6d0d9e7375
commit
6fdbff537a
|
@ -77,7 +77,7 @@ void CCBHelper::setPairMessage(std::string str) {
|
|||
}
|
||||
|
||||
bool CCBHelper::isMainJSPresent() {
|
||||
std::string path = CCFileUtils::sharedFileUtils()->fullPathFromRelativePath("main.js");
|
||||
std::string path = CCFileUtils::sharedFileUtils()->getAbsoluteFilenamePath(CCFileUtils::sharedFileUtils()->fullPathFromRelativePath("main.js"));
|
||||
CCLOG("PATH RETURNED: %s", path.c_str());
|
||||
if(path == "") {
|
||||
return false;
|
||||
|
|
Loading…
Reference in New Issue