X-Git-Url: https://jxself.org/git/?p=super-star-trek.git;a=blobdiff_plain;f=sst.py;h=a9900528bda3b4edf03feb28b2a3decdaa8ce7ff;hp=a2cedc575a37e2a08472aec68a0cb3483a6b6383;hb=7a70a834627af16460c9ba15ddd29d3e6f4f92c3;hpb=bb6c8c6171a2ffb2350e18240799d3582fdc6d27 diff --git a/sst.py b/sst.py index a2cedc5..a990052 100755 --- a/sst.py +++ b/sst.py @@ -2775,7 +2775,8 @@ def nova(nov): finish(FNOVA) return # add in course nova contributes to kicking starship - bump += (game.sector-hits[-1]).sgn() + if hits: + bump += (game.sector-hits[-1]).sgn() elif iquad == 'K': # kill klingon deadkl(neighbor, iquad, neighbor) elif iquad in ('C','S','R'): # Damage/destroy big enemies