[aisleriot] scuffle: Fix reshuffling



commit 87dd67744ccfd511bcdfd9be2e9dfb67ccdf054f
Author: Christian Persch <chpe src gnome org>
Date:   Thu Oct 10 21:28:22 2019 +0200

    scuffle: Fix reshuffling
    
    Actually reshuffle the cards on the slot, not just the
    DECK global variable.
    
    https://gitlab.gnome.org/GNOME/aisleriot/issues/6

 games/scuffle.scm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/games/scuffle.scm b/games/scuffle.scm
index 53f197b0..1863b414 100644
--- a/games/scuffle.scm
+++ b/games/scuffle.scm
@@ -93,7 +93,7 @@
                  (flip-deck 0 6)
                  (flip-deck 0 7)
                  (flip-deck 0 8)
-                 (shuffle-deck))))))
+                 (shuffle-slot 0))))))
 
 (define (check-end-slot? slot1 slot2)
   (if (and (not (empty-slot? slot1))


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