allow move to 0 0

This commit is contained in:
vaxerski 2022-06-25 11:20:03 +02:00
parent 72c86b99eb
commit 3842b1641f

View file

@ -954,8 +954,8 @@ void CKeybindManager::moveActive(std::string args) {
const int X = std::stoi(newX);
const int Y = std::stoi(newY);
if (X < 10 || Y < 10) {
Debug::log(ERR, "moveActive: exact args cannot be < 10");
if (X < 0 || Y < 0) {
Debug::log(ERR, "moveActive: exact args cannot be < 0");
return;
}