changeset 294:29e9683055dc

Explain horrible hack
author Neil Muller <drnlmuller@gmail.com>
date Sat, 05 Sep 2009 16:19:16 +0000
parents 78c49d87e175
children d037e37c5240
files gamelib/gameboard.py
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/gamelib/gameboard.py	Sat Sep 05 16:15:17 2009 +0000
+++ b/gamelib/gameboard.py	Sat Sep 05 16:19:16 2009 +0000
@@ -118,6 +118,9 @@
         self.add_tool("Finished Day", self.day_done)
 
         self.anim_clear_tool = False # Flag to clear the tool on an anim loop
+        # pgu's tool widget fiddling happens after the tool action, so calling
+        # clear_tool in the tool's action doesn't work, so we punt it to
+        # the anim loop
 
     def day_done(self):
         import engine