fixed bug in find_next_id
This commit is contained in:
parent
7adabf312d
commit
60ae2585ae
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user