aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--src/managers/KeybindManager.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/managers/KeybindManager.cpp b/src/managers/KeybindManager.cpp
index 85fb3919..931b7225 100644
--- a/src/managers/KeybindManager.cpp
+++ b/src/managers/KeybindManager.cpp
@@ -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;
}