tommusrhodus/Flappybalt-port-for-Playdate

a little bug while the player die but do NOT earn any score

Opened this issue · 1 comments

function Game:updateHighScore()

if "string" == type(self.totalScore) then
	self.totalScore = 0
end

should add
game:updateScore(0)
class-player.lua in line 84

seem better , that update the score to 0 when player first presses any key . garentee the totalScore will not be 'string' .