Skip to content

Commit

Permalink
Updated updateStateOnEvent() to fix the end of game about screen disp…
Browse files Browse the repository at this point in the history
…lay.
  • Loading branch information
forteri76 committed May 23, 2013
1 parent fc45b70 commit 3367001
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/org/jfedor/frozenbubble/GameView.java
Original file line number Diff line number Diff line change
Expand Up @@ -826,12 +826,15 @@ else if (event.getAction() == MotionEvent.ACTION_DOWN)
if (mShowScores) {
mShowScores = false;
nextLevel();
if (getCurrentLevelIndex() != 0)
setState(STATE_RUNNING);
if (mGameListener != null) {
mGameListener.onGameEvent(EVENT_LEVEL_START);
}
return true;
}
setState(STATE_RUNNING);
return true;
break;

case STATE_RUNNING:
default:
Expand Down

0 comments on commit 3367001

Please sign in to comment.