mirror of
https://github.com/gamedig/node-gamedig.git
synced 2024-11-16 08:48:32 +01:00
Pull maxplayers from gamespy3 state Closes #1
This commit is contained in:
parent
0d1577fa35
commit
25e8d1bd48
1 changed files with 1 additions and 0 deletions
|
@ -42,6 +42,7 @@ module.exports = require('./core').extend({
|
||||||
|
|
||||||
if('hostname' in state.raw) state.name = state.raw.hostname;
|
if('hostname' in state.raw) state.name = state.raw.hostname;
|
||||||
if('map' in state.raw) state.map = state.raw.map;
|
if('map' in state.raw) state.map = state.raw.map;
|
||||||
|
if('maxplayers' in state.raw) state.maxplayers = state.raw.maxplayers;
|
||||||
|
|
||||||
self.finish(state);
|
self.finish(state);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue