aboutsummaryrefslogtreecommitdiff
path: root/src/main
diff options
context:
space:
mode:
Diffstat (limited to 'src/main')
-rw-r--r--src/main/game/global_cache.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/main/game/global_cache.cpp b/src/main/game/global_cache.cpp
index e24cb4c..90d962d 100644
--- a/src/main/game/global_cache.cpp
+++ b/src/main/game/global_cache.cpp
@@ -73,6 +73,10 @@ cached_game_state::cached_game_state(const game_state& gs) : live(true) {
add_pile(pr, gs);
add_card_divider();
}
+
+ for (pile::ref pr : gs.accordion) {
+ add_card(gs.piles[pr].top_card(), gs);
+ }
}