Skip to content Skip to sidebar Skip to footer

Attempt To Compare Nil With Number Corona

I'm about to finish my game, but I ran into an error: attempt to compare nil with number game2.lua 444 I don't have a clue on how to fix this, and I've tried quite everything, wit

Solution 1:

Apperantly self.x is a nil value.. If you remove it somewhere and then listener is called in the same time, there wont be any self.x value.

You should post every line where you change/create self object. And also listener

Post a Comment for "Attempt To Compare Nil With Number Corona"