[gnome-mahjongg] Redraw tiles after resetting



commit 350dbadc1de7ab15cbf65da1893380d25578a8e9
Author: Mario Wenzel <maweki gmail com>
Date:   Mon Aug 18 19:11:24 2014 +0200

    Redraw tiles after resetting
    
    This didn't work when the game was shuffled. All tiles need to be redrawn

 src/game.vala |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/game.vala b/src/game.vala
index abcd002..85673bb 100644
--- a/src/game.vala
+++ b/src/game.vala
@@ -261,6 +261,7 @@ public class Game : Object
             tile.visible = true;
             tile.move_number = 0;
         }
+        redraw_all_tiles ();
     }
 
     public void set_hint (Tile? tile0, Tile? tile1)


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