]> git.jsancho.org Git - lugaru.git/commitdiff
Fix a regression that challenge screen is not shown
authorAlexander Monakov <amonakov@gmail.com>
Sat, 18 Dec 2010 13:48:15 +0000 (16:48 +0300)
committerAlexander Monakov <amonakov@gmail.com>
Sat, 18 Dec 2010 13:48:15 +0000 (16:48 +0300)
Source/GameTick.cpp

index 5670dc3bc5eb12430461b8e4ef8c86b13adcfb0a..d9f821aa293f073f3d42484247e539f200d89c03 100644 (file)
@@ -2767,7 +2767,7 @@ void      Game::Tick()
                                mainmenu=9;
                        }
                }
-               if(mainmenu==9){
+               else if(mainmenu==9){
                        if(Input::Button()&&!oldbutton&&selected<numchallengelevels&&selected>=0&&selected<=accountactive->getProgress()){
                                fireSound();