fix bug on desktop
This commit is contained in:
6
game.py
6
game.py
@@ -179,7 +179,11 @@ class Game:
|
||||
return
|
||||
|
||||
options = ["New Game", "Release Notes", "Credits"]
|
||||
if os.path.exists("saves") or os.path.exists("WEB_VERSION"):
|
||||
if (
|
||||
os.path.exists("saves")
|
||||
and os.listdir("saves")
|
||||
or os.path.exists("WEB_VERSION")
|
||||
):
|
||||
options.insert(0, "Load Game")
|
||||
if not os.path.exists("WEB_VERSION"):
|
||||
options.append("Quit")
|
||||
|
||||
Reference in New Issue
Block a user