diff --git a/README.md b/README.md index 2ca8c12..c7eda54 100644 --- a/README.md +++ b/README.md @@ -54,7 +54,6 @@ Otherwise, the returned object is guaranteed to contain the following keys: * **name** * **map** * **password**: Boolean -* **onlineplayers** * **maxplayers** * **players**: (array of objects) Each object **may** contain name, ping, score, team, address * **bots**: Same schema as players diff --git a/protocols/core.js b/protocols/core.js index 2f16071..1ed7d4d 100644 --- a/protocols/core.js +++ b/protocols/core.js @@ -42,7 +42,6 @@ module.exports = Class.extend(EventEmitter,{ raw: {}, - onlineplayers: 0, maxplayers: 0, players: [], bots: [] @@ -62,9 +61,6 @@ module.exports = Class.extend(EventEmitter,{ if(this.options.notes) state.notes = this.options.notes; - //Additional Conditionals - if('players' in state) state.onlineplayers = state.players.length; - state.query = {}; if('host' in this.options) state.query.host = this.options.host; if('address' in this.options) state.query.address = this.options.address;