mirror of
https://github.com/tribufu/node-gamedig
synced 2026-06-01 09:42:41 +00: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…
Add table
Add a link
Reference in a new issue