home · contact · privacy
Fix various minor, mostly "unused" flake8 complaints.
[plomrogue2] / plomrogue / game.py
index 64ae6898a9f9c11d56506d37f114d3e997585af0..7936842ae6ce892ae9a27e7a4aa28593de5196b8 100755 (executable)
@@ -1,5 +1,3 @@
-from plomrogue.tasks import (Task_WAIT, Task_MOVE, Task_WRITE,
-                             Task_FLATTEN_SURROUNDINGS)
 from plomrogue.errors import GameError, PlayError
 from plomrogue.io import GameIO
 from plomrogue.misc import quote
@@ -219,7 +217,6 @@ class Game(GameBase):
                 for little_yx in [little_yx for little_yx in self.annotations[big_yx]
                                   if player.fov_test(big_yx, little_yx)]:
                     target_yx = player.fov_stencil.target_yx(big_yx, little_yx)
-                    annotation = self.annotations[big_yx][little_yx]
                     self.io.send('ANNOTATION_HINT %s' % (target_yx,), c_id)
         self.io.send('GAME_STATE_COMPLETE')