Misc tidying

This commit is contained in:
Michael Morrison 2014-02-01 09:47:39 -06:00
parent a3c14a8d42
commit add06a7d8f
4 changed files with 11 additions and 4 deletions

View file

@ -19,8 +19,6 @@ module.exports = require('./protocols/gamespy3').extend({
},
finalizeState: function(state) {
this._super(state);
console.log(state.players.length);
console.log(state.raw.numplayers);
if(!state.players.length && parseInt(state.raw.numplayers)) {
for(var i = 0; i < parseInt(state.raw.numplayers); i++) {
state.players.push({});