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