fixed bug

This commit is contained in:
Sokomine 2023-11-03 23:12:12 +01:00
parent 8888373210
commit aa3fd4580c

View File

@ -804,7 +804,7 @@ yl_speak_up.get_sorted_quest_list = function(pname)
or(data.owner and data.owner == pname)
or(table.indexof(
yl_speak_up.get_access_list_for_var(
data.var_name, pname, "write_access") ~= -1))) then
data.var_name, pname, "write_access") or {}) ~= -1)) then
table.insert(quest_list, data.var_name)
end
end