From 25e8d1bd4861bbf2125cb54fae2d8351f73acfb6 Mon Sep 17 00:00:00 2001 From: Michael Morrison Date: Thu, 12 Sep 2013 08:31:13 -0500 Subject: [PATCH] Pull maxplayers from gamespy3 state Closes #1 --- protocols/gamespy3.js | 1 + 1 file changed, 1 insertion(+) diff --git a/protocols/gamespy3.js b/protocols/gamespy3.js index 7976893..c1abbaf 100644 --- a/protocols/gamespy3.js +++ b/protocols/gamespy3.js @@ -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);