mirror of
https://github.com/tribufu/node-gamedig
synced 2026-05-06 15:17:36 +00:00
Added quickfix for quake2 hostname
Left other ones in there just incase of unforseen compatibility issues.
This commit is contained in:
parent
869ca4a4d8
commit
ae8c13ba69
1 changed files with 1 additions and 0 deletions
|
|
@ -78,6 +78,7 @@ module.exports = require('./core').extend({
|
|||
if('sv_maxclients' in state.raw) state.maxplayers = state.raw.sv_maxclients;
|
||||
if('maxclients' in state.raw) state.maxplayers = state.raw.maxclients;
|
||||
if('sv_hostname' in state.raw) state.name = state.raw.sv_hostname;
|
||||
if('hostname' in state.raw) state.name = state.raw.hostname;
|
||||
|
||||
self.finish(state);
|
||||
return true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue