Skip to content

Commit

Permalink
removed transition fade delay
Browse files Browse the repository at this point in the history
  • Loading branch information
shyamalu authored and shyamalu committed Jan 17, 2017
1 parent cc2f125 commit 7596f24
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -540,7 +540,7 @@ void ScoreBoardContext::buttonClicked(Ref* pSender, ui::Widget::TouchEventType e
if(MapScene::levelToGameNameMap.count(currentLevel) == 1)
{
std::string gameName = MapScene::levelToGameNameMap.at(currentLevel);
Director::getInstance()->replaceScene(TransitionFade::create(0.5, LevelHelpScene::createScene(gameName.c_str()), Color3B::BLACK));
Director::getInstance()->replaceScene(LevelHelpScene::createScene(gameName.c_str()));
} else {
Director::getInstance()->replaceScene(MapScene::createScene());
}
Expand Down

0 comments on commit 7596f24

Please sign in to comment.