fix bug on desktop

This commit is contained in:
2026-04-29 17:09:21 -04:00
parent 1a95ae57b1
commit 3d130ecdd5

View File

@@ -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")