fix not working usage of ipairs
This commit is contained in:
parent
d814a97b7a
commit
a3cc763e87
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user