diff options
Diffstat (limited to 'apps/plugins')
-rw-r--r-- | apps/plugins/blackjack.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/plugins/blackjack.c b/apps/plugins/blackjack.c index fb1d6495f9..bf5a9b0b27 100644 --- a/apps/plugins/blackjack.c +++ b/apps/plugins/blackjack.c | |||
@@ -1413,7 +1413,7 @@ static int blackjack(struct game_context* bj) { | |||
1413 | rb->lcd_update(); | 1413 | rb->lcd_update(); |
1414 | } | 1414 | } |
1415 | } | 1415 | } |
1416 | if(bj->split_status == 0 && | 1416 | if(!bj->end_hand && bj->split_status == 0 && |
1417 | bj->player_cards[0][0].num == bj->player_cards[0][1].num) { | 1417 | bj->player_cards[0][0].num == bj->player_cards[0][1].num) { |
1418 | split(bj); | 1418 | split(bj); |
1419 | redraw_board(bj); | 1419 | redraw_board(bj); |
@@ -1424,7 +1424,7 @@ static int blackjack(struct game_context* bj) { | |||
1424 | } | 1424 | } |
1425 | } | 1425 | } |
1426 | 1426 | ||
1427 | while(done < todo) { | 1427 | while(!bj->end_hand && done < todo) { |
1428 | button = rb->button_get(true); | 1428 | button = rb->button_get(true); |
1429 | 1429 | ||
1430 | switch(button) { | 1430 | switch(button) { |