diff --git a/lib/invaders.lua.in b/lib/invaders.lua.in index 665b297c5..e5c054371 100644 --- a/lib/invaders.lua.in +++ b/lib/invaders.lua.in @@ -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