diff --git a/src/game/mouse/grilled_meat/game.js b/src/game/mouse/grilled_meat/game.js index 25bb38d..08f72a6 100644 --- a/src/game/mouse/grilled_meat/game.js +++ b/src/game/mouse/grilled_meat/game.js @@ -281,7 +281,8 @@ var Game = { var score = meat.getScore(); this.scoreManager.plusScore(score); - var tempPlusScore = new PlusScore(this.god.x, this.god.y - 250, score); + var scoreWithComma = NumberUtil.numberWithCommas(score); + var tempPlusScore = new PlusScore(this.god.x, this.god.y - 250, scoreWithComma); this.plusScoreGroup.add(tempPlusScore); } else if(meat.getMeatGrade() == MeatBase.DONENESS_RARE) { this.badMeatCount++; @@ -297,7 +298,8 @@ var Game = { var score = meat.getScore(); this.scoreManager.plusScore(score); - var tempPlusScore = new PlusScore(this.god.x, this.god.y - 250, score); + var scoreWithComma = NumberUtil.numberWithCommas(score); + var tempPlusScore = new PlusScore(this.god.x, this.god.y - 250, scoreWithComma); this.plusScoreGroup.add(tempPlusScore); } } else { // meat is burn black @@ -337,7 +339,8 @@ var Game = { var score = meat.getScore(); this.scoreManager.plusScore(score); - var tempPlusScore = new PlusScore(this.trashCan.x, this.trashCan.y - 180, score); + var scoreWithComma = NumberUtil.numberWithCommas(score); + var tempPlusScore = new PlusScore(this.trashCan.x, this.trashCan.y - 180, scoreWithComma); this.plusScoreGroup.add(tempPlusScore); if(meat.getClassName() == NormalMeat.CLASS_NAME) {