From: Stefano Rivera Date: Sat, 17 May 2014 17:08:10 +0000 (+0200) Subject: Don't hardcode the initial cursor position X-Git-Tag: 0.1~67 X-Git-Url: https://git.ctpug.org.za/?a=commitdiff_plain;h=be088f5c8929a0036806a3f533ffe345b9ad7159;p=naja.git Don't hardcode the initial cursor position --- 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):