chore: change targetY and startY checks

This commit is contained in:
Guillaume ARM 2024-05-08 21:54:10 +02:00
parent 988bf73955
commit 744078bab3

View File

@ -37,8 +37,8 @@ local function isOdd(x)
end end
local function checkConfig() local function checkConfig()
if config.targetY > config.startY then if config.targetY >= config.startY then
error('targetY cannot be higher that startY') error('targetY should be lower than startY')
end end
if config.height < 1 then if config.height < 1 then