Fix bug and refactor
This commit is contained in:
@ -71,8 +71,7 @@ export default Vue.extend({
|
||||
|
||||
this.pingClock = setInterval(() => {
|
||||
if (this.matching) {
|
||||
this.connection.send({
|
||||
type: 'ping',
|
||||
this.connection.send('ping', {
|
||||
id: this.matching.id
|
||||
});
|
||||
}
|
||||
|
Reference in New Issue
Block a user