[Lua] update HelloLua

This commit is contained in:
YuLei 2012-09-11 17:31:21 +08:00
parent 9de34c4f07
commit 209e44ff09
1 changed files with 1 additions and 1 deletions

View File

@ -38,7 +38,7 @@ bool AppDelegate::applicationDidFinishLaunching()
pDirector->setAnimationInterval(1.0 / 60);
// register lua engine
CCLuaEngine* pEngine = CCLuaEngine::create();
CCLuaEngine* pEngine = CCLuaEngine::defaultEngine();
CCScriptEngineManager::sharedManager()->setScriptEngine(pEngine);
#if (CC_TARGET_PLATFORM == CC_PLATFORM_ANDROID)