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

Questions about the LÖVE API, installing LÖVE and other support related questions go here.
Forum rules
Before you make a thread asking for help, read this.
Post Reply
SirFotherington
Prole
Posts: 11
Joined: Sat Feb 23, 2013 11:29 pm

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

Post 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!
User avatar
micha
Inner party member
Posts: 1083
Joined: Wed Sep 26, 2012 5:13 pm

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

Post 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.
Post Reply

Who is online

Users browsing this forum: Google [Bot] and 4 guests