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:
f191d16
)
More refactoring.
author
Eric S. Raymond
<esr@thyrsus.com>
Sat, 25 Feb 2017 13:45:49 +0000
(08:45 -0500)
committer
Eric S. Raymond
<esr@thyrsus.com>
Sat, 25 Feb 2017 13:45:49 +0000
(08:45 -0500)
sst.py
patch
|
blob
|
history
diff --git
a/sst.py
b/sst.py
index 21fcb51e563dd732d06d69bb0e2a152e8895b7f1..e79dd5b58d4d8ec3daa65b6eba15f84e808bfe75 100755
(executable)
--- a/
sst.py
+++ b/
sst.py
@@
-5354,8
+5354,7
@@
def status(req=0):
% (int((100.0*game.shield)/game.inshld + 0.5), game.shield)
prstat(_("Shields"), s+data)
if not req or req == 9:
- prstat(_("Klingons Left"), "%d" \
- % (game.state.remkl+len(game.state.kcmdr)+game.state.nscrem))
+ prstat(_("Klingons Left"), "%d" % game.unwon())
if not req or req == 10:
if game.options & OPTION_WORLDS:
plnet = game.state.galaxy[game.quadrant.i][game.quadrant.j].planet