From 230cfe23689aa3560e2f22ac6527ad5b360fa312 Mon Sep 17 00:00:00 2001 From: Gregg Tavares Date: Fri, 3 Oct 2014 02:02:39 -0700 Subject: [PATCH] change variable name to be more descriptive --- server/game.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/server/game.js b/server/game.js index 30baaecd..38170087 100644 --- a/server/game.js +++ b/server/game.js @@ -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) {