From: Eric S. Raymond Date: Sat, 25 Feb 2017 13:45:49 +0000 (-0500) Subject: More refactoring. X-Git-Tag: 2.2~28 X-Git-Url: https://jxself.org/git/?a=commitdiff_plain;h=9023547111577e2cda6f4d88fdff7303b3cfc726;p=super-star-trek.git More refactoring. --- diff --git a/sst.py b/sst.py index 21fcb51..e79dd5b 100755 --- 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