Table expected got nil error when trying to update mod to .17
-
- Inserter
- Posts: 40
- Joined: Sun Feb 22, 2015 7:54 pm
- Contact:
Table expected got nil error when trying to update mod to .17
So I've been trying to update my compressed materials mod to .17 and I'm having a problem where when the game starts it gives a table expected, got nil error. I'll upload a screenshot of the error as well as a copy of the mod as is. Any help would be appreciated thanks!
Re: Table expected got nil error when trying to update mod to .17
No flags means no flag "hidden" too.
Code: Select all
if table then
for i, value in pairs (table) do
if value == str then
-- your code here
end
end
end
-
- Inserter
- Posts: 40
- Joined: Sun Feb 22, 2015 7:54 pm
- Contact:
Re: Table expected got nil error when trying to update mod to .17
Thanks that seems to have fixed the first error. Now it has a new error.