mirror of
https://github.com/AsgardEternal/SquadJS.git
synced 2024-09-28 16:24:25 -05:00
Merge branch 'master' into eos-integration
This commit is contained in:
commit
6287a05d13
@ -337,6 +337,7 @@ export default class Rcon extends EventEmitter {
|
||||
|
||||
if (type === SERVERDATA_AUTH) {
|
||||
this.callbackIds.push({ id: this.count, cmd: body });
|
||||
|
||||
this.responseCallbackQueue.push(() => {});
|
||||
this.responseCallbackQueue.push((decodedPacket) => {
|
||||
this.client.removeListener('error', onError);
|
||||
@ -350,6 +351,7 @@ export default class Rcon extends EventEmitter {
|
||||
}
|
||||
});
|
||||
} else {
|
||||
|
||||
this.callbackIds.push({ id: this.count, cmd: body });
|
||||
this.responseCallbackQueue.push((response) => {
|
||||
this.client.removeListener('error', onError);
|
||||
|
Loading…
Reference in New Issue
Block a user