Fix a small but fatal bug.
authorEric S. Raymond <esr@thyrsus.com>
Fri, 24 Feb 2017 22:00:55 +0000 (17:00 -0500)
committerEric S. Raymond <esr@thyrsus.com>
Fri, 24 Feb 2017 22:00:55 +0000 (17:00 -0500)
sst.py

diff --git a/sst.py b/sst.py
index a4ed80e97f5d5b29f23421e7846f9b4fa0816ee2..97e038796f9d44a20f9731c66ba12d420acdee78 100755 (executable)
--- a/sst.py
+++ b/sst.py
@@ -2362,7 +2362,7 @@ def events():
             if game.state.galaxy[game.quadrant.i][game.quadrant.j].supernova:
                 return
         elif evcode == FSPY: # Check with spy to see if SC should tractor beam
-            if game.state.nscrem == 0 or game.state.iscloaked or \
+            if game.state.nscrem == 0 or game.iscloaked or \
                 ictbeam or istract or \
                 game.condition == "docked" or game.isatb == 1 or game.iscate:
                 return