Make game possible to quit (runs in CATDOS now)

This commit is contained in:
2026-05-07 17:14:18 -04:00
parent 4b41013ff8
commit c5edf49558

View File

@@ -47,7 +47,11 @@ class Game:
"Settings",
]
else:
options[0:0] = ["Save"]
options[0:0] = [
"Save",
"Save and quit",
"Quit",
]
while True:
match ui.select(
@@ -188,7 +192,7 @@ class Game:
or os.path.exists("WEB_VERSION")
):
options.insert(0, "Load Game")
if not os.path.exists("WEB_VERSION"):
if True: # not os.path.exists("WEB_VERSION"):
options.append("Quit")
print(f"Welcome to {data.text.GAME_NAME}")
while True: