Console: fixed command length calculation
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user