summaryrefslogtreecommitdiffstats
path: root/matchblox/engine/C_MatchBloxEngine.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'matchblox/engine/C_MatchBloxEngine.cpp')
-rw-r--r--matchblox/engine/C_MatchBloxEngine.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/matchblox/engine/C_MatchBloxEngine.cpp b/matchblox/engine/C_MatchBloxEngine.cpp
index 7dca60d..45f5a43 100644
--- a/matchblox/engine/C_MatchBloxEngine.cpp
+++ b/matchblox/engine/C_MatchBloxEngine.cpp
@@ -117,7 +117,12 @@ GameResult C_MatchBloxEngine::ProcessMsgs(void)
//any button is pressed
//delete session and return GAME_FINISHED
delete m_pCurrentSession;
+
l_Result = GR_FINISHED;
+
+ //set state to initialised
+ m_State = ES_INITIALISED;
+
}
break;