Don't hardcode the initial cursor position
[naja.git] / naja / widgets / board.py
index b168c6b35ec3a706ad279285a9a99bf6daa65eea..32fb5af8c52a3849e110c55a9eb90a5ee9caa24c 100644 (file)
@@ -19,7 +19,7 @@ class BoardWidget(Widget):
         super(BoardWidget, self).__init__(pos, BOARD_SIZE)
         self.info = info
         self.state = state
-        self.card_pos = (2, 2)
+        self.card_pos = state.player.position
         self._tiles = []
         self.legal = False
         for y in range(0, 5):