Attempt to compare nil with number in game [duplicate]
问题 This question already has an answer here : attempt to compare nil with number Corona (1 answer) Closed 6 years ago . hey guys i am about to finish my game i am a indie developer and i i am trying to finish my app in corona sdk and i keep getting this annoying error message. The message is get is " Attempt to compare nil with number restart.lua 9 " i don't have a clue how to fix this i try every thing but nothing works. when i run my code and i die for the first time and restart the game it