mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 16:18:12 +00:00
Spider: Fix crash when completing a deck
This resolves a regression caused by
8a48246ed1
.
This commit is contained in:
parent
8addcd237c
commit
926c16f0ce
1 changed files with 1 additions and 1 deletions
|
@ -145,7 +145,7 @@ void Game::detect_full_stacks()
|
|||
uint8_t last_value;
|
||||
Color color;
|
||||
for (size_t i = current_pile.stack().size(); i > 0; i--) {
|
||||
auto& card = current_pile.stack().at(i - 1);
|
||||
auto card = current_pile.stack().at(i - 1);
|
||||
if (card->is_upside_down())
|
||||
break;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue