mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-17 16:19:12 +02:00
Fix
This commit is contained in:
@@ -61,7 +61,7 @@ module.exports = class BlackjackCommand extends Command {
|
|||||||
break;
|
break;
|
||||||
} else if (total === 21) {
|
} else if (total === 21) {
|
||||||
reason = 'You hit 21';
|
reason = 'You hit 21';
|
||||||
break;
|
win = true;
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
const dealerTotal = this.calculate(dealerHand);
|
const dealerTotal = this.calculate(dealerHand);
|
||||||
|
|||||||
Reference in New Issue
Block a user