From 209f466d4d07487a9ad9db3be9f7c9518af138a0 Mon Sep 17 00:00:00 2001 From: stonedDiscord Date: Wed, 6 Dec 2023 22:12:05 +0100 Subject: fix singleplayer --- webAO/client.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'webAO') 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 -- cgit