acpc_poker_types 7.4.2 → 7.4.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 099f30853711e2a7c0a65e11d50ab3a966d464cf
4
- data.tar.gz: e2c91e822ac94287934c5ff12a337e1e4561be5d
3
+ metadata.gz: ae2b454a57b49169cb1e5f0a149ca66131f7e203
4
+ data.tar.gz: 0c079769f5c6442dd0347d47c14267cf5f206f6e
5
5
  SHA512:
6
- metadata.gz: 48808756581261ee187fc168ea47d83d65809df856d1bd09388217832907bc6f41cafce431b2bb98521a210abb74594c42f42ad6386dcb7dac7eb909ae696fc1
7
- data.tar.gz: c7ec858f2451f4cb4502686eeeb5d5d00f29c0c74a4aac469751e1d810528297157450f6e0b22a83bd917e548bf8ce8b40f3a3c14bd8bf51768329ac2508adc9
6
+ metadata.gz: 95dba4359c5f7c23282c049b20fef21d936b0a5f427b13da982036995b863ea44f671a894bfe89212c714e5518d78d20ff6e100f4ac4cd32e62db9f493a3b10f
7
+ data.tar.gz: 3b08b65896168f1c4e224e5112b0b491cb12d479c8864da05139c7c44bb1971f39d6eb0cf3d7586c01bf42391ffa39d9b594ea6beba442d8b8827dc17374b2a1
@@ -442,18 +442,18 @@ class MatchState < DelegateClass(String)
442
442
  cost: cost
443
443
  )
444
444
 
445
- @player_acting_sequence[current_round] << @next_to_act
446
- @next_to_act = @players.next_to_act(@next_to_act)
447
-
448
445
  adjust_min_wager!(
449
446
  @precise_betting_sequence[current_round].last,
450
- @player_acting_sequence[current_round].last
447
+ @next_to_act
451
448
  )
452
449
 
453
- @players[@player_acting_sequence[current_round].last].append_action!(
450
+ @players[@next_to_act].append_action!(
454
451
  @precise_betting_sequence[current_round].last, current_round
455
452
  )
456
453
 
454
+ @player_acting_sequence[current_round] << @next_to_act
455
+ @next_to_act = @players.next_to_act(@next_to_act)
456
+
457
457
  if @next_to_act && @players[@next_to_act].stack < (@players.amount_to_call(@next_to_act) + @min_wager_by)
458
458
  @min_wager_by = @players[@next_to_act].stack - @players.amount_to_call(@next_to_act)
459
459
  end
@@ -1,3 +1,3 @@
1
1
  module AcpcPokerTypes
2
- VERSION = '7.4.2'
2
+ VERSION = '7.4.3'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: acpc_poker_types
3
3
  version: !ruby/object:Gem::Version
4
- version: 7.4.2
4
+ version: 7.4.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dustin Morrill