feature/MAPG-205-set-timeout-in-multiplayer-rooms #15
@ -30,9 +30,7 @@
|
|||||||
|
|
||||||
Game.MultiConnector.connection.onopen = function () {
|
Game.MultiConnector.connection.onopen = function () {
|
||||||
document.getElementById('loading').style.visibility = 'hidden';
|
document.getElementById('loading').style.visibility = 'hidden';
|
||||||
|
|
||||||
Game.MultiConnector.reconnectCounter = 0;
|
Game.MultiConnector.reconnectCounter = 0;
|
||||||
|
|
||||||
Game.MultiConnector.connection.send(JSON.stringify({ func: 'connect_to_room', args: { roomId: roomId, token: Game.multi.token } }));
|
Game.MultiConnector.connection.send(JSON.stringify({ func: 'connect_to_room', args: { roomId: roomId, token: Game.multi.token } }));
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user