mirror of
https://github.com/gamedig/node-gamedig.git
synced 2024-11-17 17:25:19 +01:00
Add missing optional await (style choice)
This commit is contained in:
parent
d5dc3172b1
commit
04bd6d9514
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue