From 289eb65dde2741bc61d18db31ad126fd106ef0bb Mon Sep 17 00:00:00 2001 From: mustime Date: Wed, 29 Aug 2012 18:16:59 +0800 Subject: [PATCH] issue #1425: fix a problem that missing "MainMenu" --- .../luaScript/ActionsProgressTest/ActionsProgressTest.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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