Hi,
I recive this error each time my main character hits an enemy and the level switches.I tried removing the event listener before switching to another level,but it didn’t work.Any ideas?
The variable squid is previous declared and it’s y possition is 150.
Thank you,
Bogdan
local function movement (event) squid.y = squid.y + motion -- 319 line end
