From be088f5c8929a0036806a3f533ffe345b9ad7159 Mon Sep 17 00:00:00 2001 From: Stefano Rivera Date: Sat, 17 May 2014 19:08:10 +0200 Subject: [PATCH] Don't hardcode the initial cursor position --- naja/widgets/board.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/naja/widgets/board.py b/naja/widgets/board.py index b168c6b..32fb5af 100644 --- a/naja/widgets/board.py +++ b/naja/widgets/board.py @@ -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): -- 2.34.1