Skip to content

Commit

Permalink
Keep interface connected after manually starting
Browse files Browse the repository at this point in the history
  • Loading branch information
Citrinate committed Dec 25, 2024
1 parent 6f9dd76 commit 22f6559
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions CS2Interface/Handlers/ClientHandler.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 22f6559

Please sign in to comment.