summaryrefslogtreecommitdiff
path: root/client/src/net/multiplayer.ts
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--client/src/net/multiplayer.ts3
1 files changed, 1 insertions, 2 deletions
diff --git a/client/src/net/multiplayer.ts b/client/src/net/multiplayer.ts
index 5dcf86d..12d1773 100644
--- a/client/src/net/multiplayer.ts
+++ b/client/src/net/multiplayer.ts
@@ -179,8 +179,7 @@ export function multiplayer(
}
if (!flushCachedInputs(delta / 2)) {
socket.close()
- document.getElementById("lobby").style.display = "none"
- document.getElementById("join").style.display = ""
+ window.location.reload()
return
}
}