Page 1 of 1

[SOLVED] A table is nil and not nil at the same time??

Posted: Tue Jun 29, 2021 2:14 pm
by ThatCodingGuy78
As stated in the title, I have a problem where a table, if I try to print just the main table (Recursive tables), it prints fine. If I try to access anywhere in the table, it's suddenly nil. Even when I set that index to always be 1, it's still somehow nil.

Here's my .love file:
Game Name.love
(11.12 KiB) Downloaded 437 times
The problematic function is parseMtl in objParser.lua at line 120.

Edit: I solved it, I have no idea what I did but it works now