From: Eric S. Raymond Date: Wed, 1 Dec 2010 12:25:38 +0000 (-0500) Subject: Fix Berlios bug #1745. X-Git-Tag: 2.1~11 X-Git-Url: https://jxself.org/git/?a=commitdiff_plain;h=b599a12ccbd7f0b4dbe131e77576649372d3be69;p=super-star-trek.git Fix Berlios bug #1745. --- diff --git a/sst.py b/sst.py index 5bc4bac..9b36285 100644 --- a/sst.py +++ b/sst.py @@ -1577,7 +1577,7 @@ def torps(): torpedo(game.sector, course[i], dispersion, number=i, nburst=n) if game.alldone or game.state.galaxy[game.quadrant.i][game.quadrant.j].supernova: return - if (game.state.remkl + len(game.state.kcmdr) + game.state.nscrem)==0: + if (game.state.remkl + len(game.state.kcmdr) + game.state.nscrem)<=0: finish(FWON); def overheat(rpow):