projects
/
super-star-trek.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
13a4df1
)
Eliminate play-again prompt in curses mode.
author
Eric S. Raymond
<esr@thyrsus.com>
Mon, 14 Aug 2023 10:46:29 +0000
(06:46 -0400)
committer
Eric S. Raymond
<esr@thyrsus.com>
Mon, 14 Aug 2023 10:46:29 +0000
(06:46 -0400)
sst
patch
|
blob
|
history
diff --git
a/sst
b/sst
index 4ca8e6577187abcc7d8cb61e368c3dd80269db8c..66a6616f697b35654935d4c7ae753cd6f0ba1e30 100755
(executable)
--- a/
sst
+++ b/
sst
@@
-6843,7
+6843,8
@@
if __name__ == '__main__':
if replayfp:
break
skip(1)
if replayfp:
break
skip(1)
- stars()
+ if (game.options & OPTION_TTY):
+ stars()
skip(1)
if game.tourn and game.alldone:
proutn(_("Do you want your score recorded?"))
skip(1)
if game.tourn and game.alldone:
proutn(_("Do you want your score recorded?"))
@@
-6852,8
+6853,11
@@
if __name__ == '__main__':
scanner.push("\n")
freeze(False)
scanner.chew()
scanner.push("\n")
freeze(False)
scanner.chew()
- proutn(_("Do you want to play again? "))
- if not ja():
+ if (game.options & OPTION_TTY):
+ proutn(_("Do you want to play again? "))
+ if not ja():
+ break
+ else:
break
skip(1)
prout(_("May the Great Bird of the Galaxy roost upon your home planet."))
break
skip(1)
prout(_("May the Great Bird of the Galaxy roost upon your home planet."))