fix commas in free binds

This commit is contained in:
vaxerski
2022-10-03 16:38:05 +01:00
parent 174b593438
commit 85eea70be4
2 changed files with 3 additions and 3 deletions

View File

@@ -637,7 +637,7 @@ void CConfigManager::handleBind(const std::string& command, const std::string& v
return;
}
const auto ARGS = CVarList(value);
const auto ARGS = CVarList(value, 4);
if ((ARGS.size() < 4 && !mouse) || (ARGS.size() < 3 && mouse)) {
parseError = "bind: too few args";