refactored var c. fixes #18

This commit is contained in:
logsol 2012-07-18 23:45:32 +02:00
parent 715fb73d8b
commit 3bbb29b24f
2 changed files with 4 additions and 4 deletions

View file

@ -81,8 +81,8 @@ define(["Protocol/Helper", "Chuck/ClientGame"], function(ProtocolHelper, ClientG
break;
case 'gameCommand':
for(var c in options) {
this.clientGame.processGameCommand(c, options[c]);
for(var gameCommand in options) {
this.clientGame.processGameCommand(gameCommand, options[gameCommand]);
}
break;