mirror of
https://git.wownero.com/wownero/tippero.git
synced 2024-08-15 00:33:14 +00:00
blackjack: fix splitting on different 10 valued card
It was using the first card twice, which wasn't quite correct, tough only cosmetic
This commit is contained in:
parent
a6d4f07eec
commit
32ab6a3127
1 changed files with 4 additions and 3 deletions
|
@ -834,10 +834,11 @@ def Split(link,cmd):
|
|||
players[identity]['amount'] = players[identity]['amount'] + players[identity]['base_amount']
|
||||
RecordMove(link,"split")
|
||||
log_log('splitting hand %d' % idx)
|
||||
split_card = hand[0]
|
||||
split_card_0 = hand[0]
|
||||
split_card_1 = hand[1]
|
||||
players[identity]['player_hands'].insert(idx+1,players[identity]['player_hands'][idx].copy())
|
||||
players[identity]['player_hands'][idx]['hand'] = [ split_card, DrawCard(players[identity]['deck']) ]
|
||||
players[identity]['player_hands'][idx+1]['hand'] = [ split_card, DrawCard(players[identity]['deck']) ]
|
||||
players[identity]['player_hands'][idx]['hand'] = [ split_card_0, DrawCard(players[identity]['deck']) ]
|
||||
players[identity]['player_hands'][idx+1]['hand'] = [ split_card_1, DrawCard(players[identity]['deck']) ]
|
||||
|
||||
sidebets = players[identity]['sidebets']
|
||||
if sidebets['splits']:
|
||||
|
|
Loading…
Reference in a new issue