fixed bug in find_next_id

This commit is contained in:
Sokomine 2022-09-09 20:22:56 +02:00
parent 7adabf312d
commit 60ae2585ae

View File

@ -95,7 +95,7 @@ yl_speak_up.find_next_id = function(t)
local keynum = 1
for k, _ in pairs(t) do
local keynum = tonumber(yl_speak_up.get_number_from_id(k))
if keynum >= start_id then
if keynum and keynum >= start_id then
start_id = keynum + 1
end
end