Skip to content

Commit

Permalink
Fix string to integer bug
Browse files Browse the repository at this point in the history
  • Loading branch information
gdonald committed Dec 26, 2023
1 parent eb3d123 commit a474d92
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Console/Blackjack.rakumod
Original file line number Diff line number Diff line change
Expand Up @@ -397,7 +397,7 @@ class Game is export {

if $br {
Shoe.num-decks = 8 unless $c == 1;
Shoe.deck-type = $c;
Shoe.deck-type = $c.Int;
$!shoe = Shoe.new;
self.save-game;
self.clear;
Expand Down

0 comments on commit a474d92

Please sign in to comment.