From 853b942af74e0a35f49b9e5c46b3ccc1427be4bb Mon Sep 17 00:00:00 2001 From: SChernykh <15806605+SChernykh@users.noreply.github.com> Date: Wed, 11 Jun 2025 16:48:48 +0200 Subject: [PATCH] Console: fixed command length calculation --- src/console_commands.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/console_commands.cpp b/src/console_commands.cpp index 3aca7fb..62dbcda 100644 --- a/src/console_commands.cpp +++ b/src/console_commands.cpp @@ -385,6 +385,7 @@ void ConsoleCommands::process_input(std::string& command, const char* data, uint else { if (check_cookie) { command.erase(0, m_cookie.length()); + k -= m_cookie.length(); } cmd* c = cmds;