diff --git a/samples/TestLua/Resources/luaScript/ActionsProgressTest/ActionsProgressTest.lua b/samples/TestLua/Resources/luaScript/ActionsProgressTest/ActionsProgressTest.lua index 4a5206fe12..2411d996a9 100644 --- a/samples/TestLua/Resources/luaScript/ActionsProgressTest/ActionsProgressTest.lua +++ b/samples/TestLua/Resources/luaScript/ActionsProgressTest/ActionsProgressTest.lua @@ -24,8 +24,8 @@ end local function nextCallback(sender) local scene = CCScene:create() - scene:addChild(CreateBackMenuItem()) scene:addChild(nextAction()) + scene:addChild(CreateBackMenuItem()) CCDirector:sharedDirector():replaceScene(scene) end @@ -33,8 +33,8 @@ end local function restartCallback(sender) local scene = CCScene:create() - scene:addChild(CreateBackMenuItem()) scene:addChild(restartAction()) + scene:addChild(CreateBackMenuItem()) CCDirector:sharedDirector():replaceScene(scene) end