MichaelSinsbeck / platformer

A ninja platformer written in LÖVE
7 stars 0 forks source link

Repeated calls of bean visualizer init() #259

Open Germanunkol opened 9 years ago

Germanunkol commented 9 years ago

Hi,

While debugging something else, I put this line at the top of the Visualizer:init function:

print("INIT:" , self.animation, AnimationDB.animation[self.animation] )

Then, when playing a level, I repeatedly see this print:

INIT:   guiBeanFull table: 0x40e1daa8
INIT:   guiBeanEmpty    table: 0x40e1dca8

I'm not sure, but this looks like function calls which aren't needed. Is this a bug?