From 665b818e7803bcf8cd49127a12b87ea1a636c1a5 Mon Sep 17 00:00:00 2001 From: neroignis Date: Thu, 30 Apr 2020 12:03:48 +0200 Subject: [PATCH] Fix bug #2 --- js/app.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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() {