[aisleriot] triple-peaks: Fix reshuffling



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

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

 games/triple-peaks.scm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/games/triple-peaks.scm b/games/triple-peaks.scm
index 846615fd..4a84bef1 100644
--- a/games/triple-peaks.scm
+++ b/games/triple-peaks.scm
@@ -92,7 +92,7 @@
   (flip-deck 1 2)
   (add-cards! 0 (get-cards 1))
   (remove-n-cards 1 (length (get-cards 1)))
-  (shuffle-deck)
+  (shuffle-slot 0)
   (deal-cards 0 ' (3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20))
   (deal-cards-face-up 0 ' (21 22 23 24 25 26 27 28 29 30 2))
 )


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