invaders: fix highscore display
this commit fixes the bug which lead to the highscore display not disappearing if 'p' was pressed while showing the highscores
This commit is contained in:
parent
1569818c5e
commit
5f250eedc2
|
@ -424,6 +424,7 @@ function game.highscore_add (score, name)
|
|||
end
|
||||
|
||||
function game.highscore (score)
|
||||
if gamedata.highscore.window and gamedata.highscore.window.screen then return false end
|
||||
local fh = io.open(gamedata.cachedir.."/highscore_invaders", "r")
|
||||
|
||||
if fh then
|
||||
|
|
Loading…
Reference in New Issue