mirror of
https://github.com/gamedig/node-gamedig.git
synced 2024-09-28 21:31:29 +02:00
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;
|
||||
const packets = {};
|
||||
return this.udpSend(b,(buffer) => {
|
||||
return await this.udpSend(b,(buffer) => {
|
||||
const reader = this.reader(buffer);
|
||||
const iType = reader.uint(1);
|
||||
if(iType !== type) return;
|
||||
|
Loading…
Reference in New Issue
Block a user