issue #1425: fix a problem that missing "MainMenu"

This commit is contained in:
mustime 2012-08-29 18:16:59 +08:00
parent c15c96ac28
commit 289eb65dde
1 changed files with 2 additions and 2 deletions

View File

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