Fixing run and reset buttons being enabled by default

This commit is contained in:
Rohan Kuruvilla 2013-01-24 23:31:49 -08:00
parent 6d0d9e7375
commit 6fdbff537a
1 changed files with 1 additions and 1 deletions

View File

@ -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;