aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorstonedDiscord <Tukz@gmx.de>2023-12-06 22:12:05 +0100
committerstonedDiscord <Tukz@gmx.de>2023-12-06 22:12:12 +0100
commit209f466d4d07487a9ad9db3be9f7c9518af138a0 (patch)
treeacd02b11ece1f6a34bc958ba5765228a4f8cbd08
parent8aa28d0fbd80210e3ee3086ed787ccf94c0c0803 (diff)
fix singleplayer
-rw-r--r--webAO/client.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/webAO/client.ts b/webAO/client.ts
index 50c5363..bc6c998 100644
--- a/webAO/client.ts
+++ b/webAO/client.ts
@@ -73,7 +73,7 @@ fpPromise
let connectionString = connect;
- if (!connectionString) {
+ if (!connectionString && mode !== "replay") {
if (serverIP) {
// if connectionString is not set, try IP
// and just guess ws, though it could be wss