File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -43,7 +43,7 @@ local function loop()
4343 end
4444
4545 console :writeLine (" " )
46- console :writeLine (" Enter [" .. first .. " -" .. last .. " ] teleposition focus index" )
46+ console :writeLine (" Enter [" .. ( # config . teleposer . telepositionFocuses ~= 0 and first or 0 ) .. " -" .. last .. " ] teleposition focus index" )
4747 console :writeLine (" Enter [p1-p" .. pageCount .. " ] to select page" )
4848 console :writeLine (" Enter [s] to scan teleposition focuses" )
4949
@@ -52,7 +52,7 @@ local function loop()
5252 reader .conditions .index = console :createCondition ()
5353 reader .conditions .index .userInputToNumber = true
5454 reader .conditions .index .condition = function (userInput )
55- return userInput >= 0 and userInput <= # config .teleposer .telepositionFocuses
55+ return userInput > 0 and userInput <= # config .teleposer .telepositionFocuses and # config . teleposer . telepositionFocuses ~= 0
5656 end
5757 reader .conditions .index .callback = function (userInput )
5858 config .teleposer :teleport (assert (tonumber (userInput )))
You can’t perform that action at this time.
0 commit comments