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

@ -55,8 +55,8 @@ define(["Protocol/Helper"], function(ProtocolHelper) {
break;
case 'gameCommand':
for(var c in options) {
this.channel.processGameCommandFromUser(c, options[c], this);
for(var gameCommand in options) {
this.channel.processGameCommandFromUser(gameCommand, options[gameCommand], this);
}
break;