Add missing optional await (style choice)
This commit is contained in:
parent
d5dc3172b1
commit
04bd6d9514
|
@ -146,7 +146,7 @@ class Gamespy3 extends Core {
|
||||||
|
|
||||||
let numPackets = 0;
|
let numPackets = 0;
|
||||||
const packets = {};
|
const packets = {};
|
||||||
return this.udpSend(b,(buffer) => {
|
return await this.udpSend(b,(buffer) => {
|
||||||
const reader = this.reader(buffer);
|
const reader = this.reader(buffer);
|
||||||
const iType = reader.uint(1);
|
const iType = reader.uint(1);
|
||||||
if(iType !== type) return;
|
if(iType !== type) return;
|
||||||
|
|
Loading…
Reference in New Issue