properly dequeue user and reflect that on frontend
This commit is contained in:
parent
06fa768c84
commit
52746f8a7f
2 changed files with 8 additions and 4 deletions
|
|
@ -157,7 +157,7 @@ class StateI {
|
|||
return;
|
||||
}
|
||||
|
||||
this.queue.delete(user.id);
|
||||
this.dequeueUser(user.socket);
|
||||
this.tournament.addUser(user.id, name ?? udb.name);
|
||||
sock.emit('tournamentRegister', {
|
||||
kind: 'success',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue