Make game possible to quit (runs in CATDOS now)
This commit is contained in:
8
game.py
8
game.py
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user