diff --git a/js/app.js b/js/app.js index 470c4ff..a940aa7 100644 --- a/js/app.js +++ b/js/app.js @@ -192,11 +192,11 @@ let app = new Vue({ }, draw() { - this.money += this.bet; + this.money = (parseInt(this.money) + parseInt(this.bet)); }, win() { - this.money += this.bet * 2; + this.money += (parseInt(this.bet) * 2); }, endRound() {