mirror of
https://github.com/tribufu/node-gamedig
synced 2026-05-18 09:35:50 +00:00
Misc tidying
This commit is contained in:
parent
a3c14a8d42
commit
add06a7d8f
4 changed files with 11 additions and 4 deletions
|
|
@ -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({});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue