projects
/
naja.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Squawk a bit
[naja.git]
/
naja
/
widgets
/
info_area.py
diff --git
a/naja/widgets/info_area.py
b/naja/widgets/info_area.py
index babf873de9e2d177fd574be12c7259e5d050c89f..81cd0bb1d3c228b631093af6ea356107b9942aa9 100644
(file)
--- a/
naja/widgets/info_area.py
+++ b/
naja/widgets/info_area.py
@@
-118,6
+118,7
@@
class InfoAreaWidget(Widget):
player = self.state.player
action = self.card.actions[self.chosen]
if not action.check_available(player):
+ sound.play_sound('error.ogg')
print "BEEP!"
else:
action.perform_action(self.state.gameboard, self.card)