Misterious Error

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
User avatar
wesleylucas
Prole
Posts: 12
Joined: Thu May 09, 2013 11:08 pm
Location: Brazil

Misterious Error

Post by wesleylucas »

I was just creating a visual novel "plugin" when I tried to implement a choose option, everything was going okay until I change a variable, love just start to give weird errors saying that the variable is nil, even if I undo it's still the same!

Help please!
Attachments
Window.love
The project
(762.36 KiB) Downloaded 126 times
def or function doesn't matter, you understand what I mean anyway.
User avatar
Boolsheet
Inner party member
Posts: 780
Joined: Wed Dec 29, 2010 4:57 am
Location: Switzerland

Re: Misterious Error

Post by Boolsheet »

In main.lua on line 9, did you mean to create a new table with all the values returned by the newDialog function calls?

In the code you uploaded only the first return value of the first newDialog call gets assigned to the local variable 'dial'.
Shallow indentations.
User avatar
wesleylucas
Prole
Posts: 12
Joined: Thu May 09, 2013 11:08 pm
Location: Brazil

Re: Misterious Error

Post by wesleylucas »

Thanks!!! :awesome: Someone please close the topic. :3
def or function doesn't matter, you understand what I mean anyway.
User avatar
Robin
The Omniscient
Posts: 6506
Joined: Fri Feb 20, 2009 4:29 pm
Location: The Netherlands
Contact:

Re: Misterious Error

Post by Robin »

wesleylucas wrote:Someone please close the topic. :3
No need. Here we generally just stop talking on a thread when the issue's resolved.
Help us help you: attach a .love.
Post Reply

Who is online

Users browsing this forum: Bing [Bot], Google [Bot] and 9 guests