fix not working usage of ipairs

master
cora 2021-08-31 21:46:23 +02:00
parent d814a97b7a
commit a3cc763e87
1 changed files with 1 additions and 1 deletions

View File

@ -51,7 +51,7 @@ end
function ws.in_list(val, list)
if type(list) ~= "table" then return false end
for i, v in ipairs(list) do
for i, v in pairs(list) do
if v == val then
return true
end