aboutsummaryrefslogtreecommitdiff
path: root/source/client
diff options
context:
space:
mode:
Diffstat (limited to 'source/client')
-rw-r--r--source/client/room.ts3
1 files changed, 3 insertions, 0 deletions
diff --git a/source/client/room.ts b/source/client/room.ts
index de6bff7..72d7df1 100644
--- a/source/client/room.ts
+++ b/source/client/room.ts
@@ -58,6 +58,9 @@ export class Room {
}
websocket_close() {
log("ws", "websocket closed");
+ setTimeout(() => {
+ window.location.reload()
+ }, 1000)
}
websocket_open() {
log("ws", "websocket opened");