This commit is contained in:
Daniel Odendahl Jr
2018-09-17 16:47:45 +00:00
parent 0b18768832
commit 3aebe55abb
+1 -1
View File
@@ -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);