Console: fixed command length calculation

This commit is contained in:
SChernykh
2025-06-11 16:48:48 +02:00
parent a9d9e1b48a
commit 853b942af7

View File

@@ -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;