[gbrainy] Update status bar on new game after has been set



commit 24d08483a3dbe297f1accdd2bc2623d64a0d5056
Author: Jordi Mas <jmas softcatala org>
Date:   Fri Jul 29 19:16:56 2011 +0200

    Update status bar on new game after has been set

 src/Core/Main/GameSession.cs |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/src/Core/Main/GameSession.cs b/src/Core/Main/GameSession.cs
index cfcb616..d2fa03f 100644
--- a/src/Core/Main/GameSession.cs
+++ b/src/Core/Main/GameSession.cs
@@ -220,10 +220,9 @@ namespace gbrainy.Core.Main
 			if (Status != SessionStatus.NotPlaying)
 				End ();
 
-			current_time = TimeSpanToStr (game_time);
-
 			history.Clear ();
 			game_time = TimeSpan.Zero;
+			current_time = TimeSpanToStr (game_time);
 			timer.SynchronizingObject = SynchronizingObject;
 			EnableTimer = true;
 		}



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]