From 8b5efac1072a15677a33e20d888c265e380d0e07 Mon Sep 17 00:00:00 2001 From: Neil Date: Fri, 19 Apr 2013 13:23:04 +0200 Subject: [PATCH] fix sound check for gate sound --- erdslangetjie/player.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.34.1