Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/game.py
diff options
context:
space:
mode:
authorWalter Bender <walter.bender@gmail.com>2011-03-09 22:32:50 (GMT)
committer Walter Bender <walter.bender@gmail.com>2011-03-09 22:32:50 (GMT)
commit70e08822d4c7734dc2c0531276035772f64e0caa (patch)
treecf1d5d1a46857c5d4c639038369e0d442e91b91e /game.py
parent6810caec838501bf16a2256b76e13eebb5fc1feb (diff)
second pass at highlighting
Diffstat (limited to 'game.py')
-rw-r--r--game.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/game.py b/game.py
index 360e725..c53ec4b 100644
--- a/game.py
+++ b/game.py
@@ -324,8 +324,7 @@ class Game():
if not break_in_path[p] and len(self._paths[p]) > 0:
# TODO: Change the color of path 0 vs 1
for i in self._paths[p]:
- self.grid.grid[i[0]].spr.set_shape(
- self.grid.grid[i[0]].highlight)
+ self.grid.grid[i[0]].set_shape(i[1])
def _tile_to_test(self, test_path):
''' Find a tile that needs testing. '''