Skip to content

Commit

Permalink
JS tyle fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
danielholmes committed Jan 12, 2018
1 parent 5138c2c commit 34753f9
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions battleforhill.js
Original file line number Diff line number Diff line change
Expand Up @@ -954,10 +954,9 @@ define(
var playerId = notification.args.playerId;
this.updateHandCount(playerId, notification.args.handCount);
this.updateDeckCount(playerId, notification.args.deckCount);
},
}

// TODO: Show new scores
/*onNotifNewScores: function(notification) {
/* onNotifNewScores: function(notification) {
for (var playerId in notification.args) {
if (notification.args.hasOwnProperty(playerId)) {
var score = notification.args[playerId].score;
Expand All @@ -966,7 +965,7 @@ define(
this.updateUnitsDestroyedCount(playerId, scoreAux);
}
}
}*/
} */
});
}
);

0 comments on commit 34753f9

Please sign in to comment.