mirror of
https://github.com/tribufu/node-gamedig
synced 2026-05-06 15:17:36 +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('map' in state.raw) state.map = state.raw.map;
|
||||
if('maxplayers' in state.raw) state.maxplayers = state.raw.maxplayers;
|
||||
|
||||
self.finish(state);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue