chore: change targetY and startY checks
This commit is contained in:
parent
988bf73955
commit
744078bab3
@ -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
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user