Skip to content

Commit

Permalink
change variable name to be more descriptive
Browse files Browse the repository at this point in the history
  • Loading branch information
greggman committed Oct 3, 2014
1 parent 90e2e21 commit 230cfe2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions server/game.js
Original file line number Diff line number Diff line change
Expand Up @@ -229,8 +229,8 @@ Game.prototype.assignClient = function(client, data) {
this.gameGroup.addPlayerToGame(player, data.gameId, data.data);
}.bind(this);

var sendMessageToGame = function(id, data) {
this.gameGroup.sendMessageToGame(this.id, id, data);
var sendMessageToGame = function(destId, data) {
this.gameGroup.sendMessageToGame(this.id, destId, data);
}.bind(this);

var broadcastToGames = function(id, data) {
Expand Down

0 comments on commit 230cfe2

Please sign in to comment.