clean: respect es11
This commit is contained in:
@ -10,7 +10,7 @@ class MatchMaking
|
||||
/**
|
||||
* @type {Client}
|
||||
*/
|
||||
this.client = client
|
||||
this.client = client;
|
||||
this.searching = false;
|
||||
}
|
||||
|
||||
@ -56,10 +56,10 @@ class MatchMaking
|
||||
async stop()
|
||||
{
|
||||
if (this._socket)
|
||||
this._socket.close()
|
||||
this._socket = undefined
|
||||
this._socket.close();
|
||||
this._socket = undefined;
|
||||
this.searching = false;
|
||||
}
|
||||
}
|
||||
|
||||
export {MatchMaking}
|
||||
export {MatchMaking};
|
||||
|
||||
Reference in New Issue
Block a user