projects
/
erdslangetjie.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3bfbca2
)
fix sound check for gate sound
author
Neil
<neil@dip.sun.ac.za>
Fri, 19 Apr 2013 11:23:04 +0000
(13:23 +0200)
committer
Neil
<neil@dip.sun.ac.za>
Fri, 19 Apr 2013 11:23:04 +0000
(13:23 +0200)
erdslangetjie/player.py
patch
|
blob
|
history
diff --git
a/erdslangetjie/player.py
b/erdslangetjie/player.py
index 44d5a7dba9e0a60cd2e549028e61ca988c12d8fb..841b5097b0f938121059b55625e3bf255bc9918a 100644
(file)
--- 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