[gnome-mahjongg] Disallow undo/redo after Restart Game



commit e9eefa706e545d5d080554acd6156be6546fdaa1
Author: Michael Catanzaro <mcatanzaro gnome org>
Date:   Thu Feb 20 00:35:28 2014 -0600

    Disallow undo/redo after Restart Game

 src/game.vala |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/game.vala b/src/game.vala
index ab3b110..3168262 100644
--- a/src/game.vala
+++ b/src/game.vala
@@ -253,6 +253,7 @@ public class Game
     public void reset ()
     {
         reset_clock ();
+        move_number = 1;
         selected_tile = null;
         set_hint (null, null);
         foreach (var tile in tiles)


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