added disconnection dialog to inform user
This commit is contained in:
parent
bb031c6b28
commit
d479411845
@ -190,6 +190,9 @@ function startGameSession() {
|
||||
gameSession.onconnect = function () {};
|
||||
gameSession.onclose = function (event) {
|
||||
console.log(event);
|
||||
popupDialog("connection_error","Connection Error!!!",false,messageDialog,"The server connection was closed!",function () {
|
||||
window.location.search = ""; //reload page
|
||||
});
|
||||
};
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user