From 22f65590166163d350d5b14561091ff05df869f2 Mon Sep 17 00:00:00 2001 From: Citrinate Date: Tue, 24 Dec 2024 21:50:42 -0500 Subject: [PATCH] Keep interface connected after manually starting --- CS2Interface/Handlers/ClientHandler.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/CS2Interface/Handlers/ClientHandler.cs b/CS2Interface/Handlers/ClientHandler.cs index aa2107f..59305ce 100644 --- a/CS2Interface/Handlers/ClientHandler.cs +++ b/CS2Interface/Handlers/ClientHandler.cs @@ -63,6 +63,7 @@ internal static void AddHandler(Bot bot, CallbackManager callbackManager) { return (false, String.Format("{0}: {1}", Strings.InterfaceStartFailed, e.Message)); } + CS2Interface.AutoStart[Bot.BotName] = true; Bot.ArchiLogger.LogGenericInfo(Strings.InterfaceStarted); return (true, Strings.InterfaceStarted);