Pull maxplayers from gamespy3 state Closes #1

This commit is contained in:
Michael Morrison 2013-09-12 08:31:13 -05:00
parent 0d1577fa35
commit 25e8d1bd48

View file

@ -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);