From 3367001d4ce26d92cffca795ef76170202f12931 Mon Sep 17 00:00:00 2001 From: forteri76 Date: Thu, 23 May 2013 21:05:21 +0000 Subject: [PATCH] Updated updateStateOnEvent() to fix the end of game about screen display. --- src/org/jfedor/frozenbubble/GameView.java | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/org/jfedor/frozenbubble/GameView.java b/src/org/jfedor/frozenbubble/GameView.java index 0b7e4fd..b9e3c61 100644 --- a/src/org/jfedor/frozenbubble/GameView.java +++ b/src/org/jfedor/frozenbubble/GameView.java @@ -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: