Announce who won the round

Fixes #39.
This commit is contained in:
uecasm 2013-11-14 23:39:03 +13:00
parent 7e7be6c54e
commit 7e15eddcc3
1 changed files with 1 additions and 1 deletions

View File

@ -856,7 +856,7 @@ cah.Game.prototype.roundComplete = function(data) {
var scoreCard = this.scoreCards_[roundWinner]; var scoreCard = this.scoreCards_[roundWinner];
$(scoreCard.getElement()).addClass("selected"); $(scoreCard.getElement()).addClass("selected");
$(".confirm_card", this.element_).attr("disabled", "disabled"); $(".confirm_card", this.element_).attr("disabled", "disabled");
cah.log.status_with_game(this, "The next round will begin in " cah.log.status_with_game(this, roundWinner + " wins the round. The next round will begin in "
+ (data[cah.$.LongPollResponse.INTERMISSION] / 1000) + " seconds."); + (data[cah.$.LongPollResponse.INTERMISSION] / 1000) + " seconds.");
// update the previous round display // update the previous round display