Add missing optional await (style choice)

This commit is contained in:
mmorrison 2019-01-13 22:35:07 -06:00
parent d5dc3172b1
commit 04bd6d9514
1 changed files with 1 additions and 1 deletions

View File

@ -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;