[gnome-taquin] Fix previous commit.
- From: Arnaud B. <arnaudb src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-taquin] Fix previous commit.
- Date: Tue, 22 Jan 2019 06:13:11 +0000 (UTC)
commit 9b7217d960af5c7f5994b473e1ac439344d43c4d
Author: Arnaud Bonatti <arnaud bonatti gmail com>
Date: Tue Jan 22 07:12:42 2019 +0100
Fix previous commit.
Forgot to reset score when changing game.
src/game-headerbar.vala | 2 ++
1 file changed, 2 insertions(+)
---
diff --git a/src/game-headerbar.vala b/src/game-headerbar.vala
index 13e1e0d..58a6a7d 100644
--- a/src/game-headerbar.vala
+++ b/src/game-headerbar.vala
@@ -172,6 +172,8 @@ private class GameHeaderBar : BaseHeaderBar
{
back_button.show ();
new_game_button.hide (); // TODO transition?
+ best_score = 0;
+ last_moves_count = 0;
}
/*\
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]