chirp on successful actions
authorNeil <neil@dip.sun.ac.za>
Thu, 15 May 2014 20:10:04 +0000 (22:10 +0200)
committerNeil <neil@dip.sun.ac.za>
Thu, 15 May 2014 20:11:50 +0000 (22:11 +0200)
naja/widgets/info_area.py

index 2f59c753c04ae8f33599b180da0376f09648620e..c92a0b021e4fea18c3389351fbb46a6ffb4362cb 100644 (file)
@@ -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)