Page 1 of 1

menu.lua:24L Attempt to undex field....

Posted: Sun Feb 24, 2013 5:35 pm
by SirFotherington
menu.love
(2.54 KiB) Downloaded 166 times
Menu.lua:24 attempt to index field 'even'(a nil value)

What does this error mean? It happens when i click on the "Quit" button I made. Im still trying to the to grips with what the error messages mean on this!

Re: menu.lua:24L Attempt to undex field....

Posted: Sun Feb 24, 2013 6:47 pm
by micha
It means that in line 24 of the file "Menu.lua" you are trying to use something called "even", but this variable does not exist.
In this case you did a typo and wrote love.even instead of love.event.