I can't seem to find the problem - does anyone know how to fix this? Screenshot (http://prntscr.com/p3z880)
compat.lua
function isInArray(array, value) return table.contains(array, value) end
table.contains = function(array, value)
for _, targetColumn in pairs(array) do
if targetColumn == value then
return true
end
end
return false
end
isInArray = table.contains
compat.lua
function isInArray(array, value) return table.contains(array, value) end
table.contains = function(array, value)
for _, targetColumn in pairs(array) do
if targetColumn == value then
return true
end
end
return false
end
isInArray = table.contains