projects
/
naja.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a0657c2
)
chirp on successful actions
author
Neil
<neil@dip.sun.ac.za>
Thu, 15 May 2014 20:10:04 +0000
(22:10 +0200)
committer
Neil
<neil@dip.sun.ac.za>
Thu, 15 May 2014 20:11:50 +0000
(22:11 +0200)
naja/widgets/info_area.py
patch
|
blob
|
history
diff --git
a/naja/widgets/info_area.py
b/naja/widgets/info_area.py
index 2f59c753c04ae8f33599b180da0376f09648620e..c92a0b021e4fea18c3389351fbb46a6ffb4362cb 100644
(file)
--- a/
naja/widgets/info_area.py
+++ b/
naja/widgets/info_area.py
@@
-136,6
+136,7
@@
class InfoAreaWidget(Widget):
if not action.check_available(player):
sound.play_sound('error.ogg')
else:
+ sound.play_sound('chirp.ogg', volume=0.5)
action.perform_action(self.state.gameboard, self.card)
self.state.gameboard.replace_card(player.position)
self.state.gameboard.change_mode(EXAMINE)