mirror of
https://github.com/tribufu/node-gamedig
synced 2026-06-01 09:42:41 +00:00
Remove complex players setter overload (3.0.8)
This commit is contained in:
parent
c46e8efb0d
commit
5c2d15df49
13 changed files with 23 additions and 32 deletions
|
|
@ -12,7 +12,7 @@ class Jc2mp extends Gamespy3 {
|
|||
async run(state) {
|
||||
await super.run(state);
|
||||
if(!state.players.length && parseInt(state.raw.numplayers)) {
|
||||
state.players = parseInt(state.raw.numplayers);
|
||||
state.players.setNum(parseInt(state.raw.numplayers));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue