From: Neil Date: Fri, 19 Apr 2013 11:23:04 +0000 (+0200) Subject: fix sound check for gate sound X-Git-Url: https://git.ctpug.org.za/?a=commitdiff_plain;h=8b5efac1072a15677a33e20d888c265e380d0e07;p=erdslangetjie.git fix sound check for gate sound --- diff --git a/erdslangetjie/player.py b/erdslangetjie/player.py index 44d5a7d..841b509 100644 --- a/erdslangetjie/player.py +++ b/erdslangetjie/player.py @@ -63,7 +63,7 @@ class Nemesis(FigureSprite): for cand in neighbours: if level.is_gate(cand) and level.blocked(cand): level.damage_gate(cand) - if self._config.getdefault('bane', 'sound', False): + if self._config.getdefault('bane', 'sound', '0') != '0': self._bend.play() return # check for dead-ends