Skip to content
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion sst.py
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,7 @@ def sgn(self):

def quadrant(self):
#print "Location %s -> %s" % (self, (self / QUADSIZE).roundtogrid())
#return self.roundtogrid() / QUADSIZE
iq = self.roundtogrid()
iq.i = int(iq.i/QUADSIZE)
iq.j = int(iq.j/QUADSIZE)
Expand Down Expand Up @@ -2317,7 +2318,7 @@ def destroybase():
pdest.charted = True
game.probe.moves -= 1 # One less to travel
if game.probe.arrived() and game.isarmed and pdest.stars:
supernova(game.probe.quadrant()) # fire in the hole!
supernova(game.probe.quadrant()) # fire in the hole!

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a white-space patch.

unschedule(FDSPROB)
if game.state.galaxy[pquad.i][pquad.j].supernova:
return
Expand Down