[gbrainy] Update status bar on new game after has been set
- From: Jordi Mas <jmas src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gbrainy] Update status bar on new game after has been set
- Date: Fri, 29 Jul 2011 17:17:15 +0000 (UTC)
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]