From: Neil Date: Wed, 14 May 2014 22:24:12 +0000 (+0200) Subject: Avoid crash when returning to game during act mode X-Git-Tag: 0.1~291 X-Git-Url: https://git.ctpug.org.za/?a=commitdiff_plain;h=00e941c5b9d033e1bcd62e6cb31bbbf4aa2be672;p=naja.git Avoid crash when returning to game during act mode --- diff --git a/naja/widgets/info_area.py b/naja/widgets/info_area.py index a89e965..25dd653 100644 --- a/naja/widgets/info_area.py +++ b/naja/widgets/info_area.py @@ -38,6 +38,7 @@ class InfoAreaWidget(Widget): def __init__(self, pos, state): super(InfoAreaWidget, self).__init__(pos, INFO_SIZE) self.state = state + self.chosen = None self.set_position(state.player.position) def prepare(self):