mirror of
https://github.com/gamedig/node-gamedig.git
synced 2024-11-13 07:21:11 +01:00
Fix doom3 protocol not parsing the correct field
This commit is contained in:
parent
4048a543fe
commit
fe0f8dbb28
1 changed files with 1 additions and 1 deletions
|
@ -84,7 +84,7 @@ class Doom3 extends Core {
|
|||
if (state.raw.si_name) state.name = state.raw.si_name;
|
||||
if (state.raw.si_map) state.map = state.raw.si_map;
|
||||
if (state.raw.si_maxplayers) state.maxplayers = parseInt(state.raw.si_maxplayers);
|
||||
if (state.raw.si_maxPlayers) state.maxplayers = parseInt(state.raw.si_maxplayers);
|
||||
if (state.raw.si_maxPlayers) state.maxplayers = parseInt(state.raw.si_maxPlayers);
|
||||
if (state.raw.si_usepass === '1') state.password = true;
|
||||
if (state.raw.si_needPass === '1') state.password = true;
|
||||
if (this.options.port === 27733) state.gamePort = 3074; // etqw has a different query and game port
|
||||
|
|
Loading…
Reference in a new issue