aboutsummaryrefslogtreecommitdiff
path: root/src/main/game/game_state.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/game/game_state.cpp')
-rw-r--r--src/main/game/game_state.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/game/game_state.cpp b/src/main/game/game_state.cpp
index 14867f8..b45cc11 100644
--- a/src/main/game/game_state.cpp
+++ b/src/main/game/game_state.cpp
@@ -87,7 +87,7 @@ game_state::game_state(const sol_rules& s_rules, int seed) :
// If there is a hole, moves the ace of spades to it
if (rules.hole) {
deck.erase(find(begin(deck), end(deck), card("AS")));
- piles[hole].place("AS");
+ piles[hole].place(card("AS"));
}
// If there is a stock, deals to it and set up a waste pile too