gamedigz 0.2.1 → 0.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -22,7 +22,7 @@
22
22
  ],
23
23
  "main": "lib/index.js",
24
24
  "author": "GameDig Contributors",
25
- "version": "0.2.1",
25
+ "version": "0.3.0",
26
26
  "repository": {
27
27
  "type": "git",
28
28
  "url": "https://github.com/gamedig/node-gamedig.git"
@@ -441,8 +441,7 @@ class Valve extends Core {
441
441
  else state.bots.push({});
442
442
  }
443
443
  while(state.players.length < numPlayers || sortedPlayers.length) {
444
- if (sortedPlayers.length) state.players.push(sortedPlayers.pop());
445
- else state.players.push({});
444
+ state.players.push({});
446
445
  }
447
446
  }
448
447