Skip to content

Commit

Permalink
Finishing a map transitions to load map state.
Browse files Browse the repository at this point in the history
  • Loading branch information
rohit-n committed Dec 24, 2015
1 parent 51ee7ca commit 37def83
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion levelendstate.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ void LevelEndState::handleButton(Button* button)
if (button == _OKButton)
{
Locator::getAudio()->stopMusic();
_manager->switchToState(MAINMENU_SCREEN);
_manager->switchToState(LOADMAP_SCREEN);
_manager->destroyScene();
}
}

0 comments on commit 37def83

Please sign in to comment.