From 3b3d88e1035de0a91b6bbb629dd8a940c8c4f8f2 Mon Sep 17 00:00:00 2001 From: stonedDiscord Date: Sat, 17 Dec 2022 18:07:10 +0100 Subject: deal with buggy kfo server --- webAO/packets/handlers/handleASS.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'webAO/packets') diff --git a/webAO/packets/handlers/handleASS.ts b/webAO/packets/handlers/handleASS.ts index ea8a0d3..bfd764d 100644 --- a/webAO/packets/handlers/handleASS.ts +++ b/webAO/packets/handlers/handleASS.ts @@ -6,5 +6,6 @@ import { setAOhost } from "../../client/aoHost"; * @param {Array} args packet arguments */ export const handleASS = (args: string[]) => { - setAOhost(args[1]); + if(args[1] !== "None") + setAOhost(args[1]); } -- cgit