diff pytouhou/game/player.py @ 379:e0e284fcb288

Make a sound when an enemy is hit.
author Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
date Thu, 30 Aug 2012 11:34:56 +0200
parents 94fdb6c782c1
children c25530efea3b
line wrap: on
line diff
--- a/pytouhou/game/player.py
+++ b/pytouhou/game/player.py
@@ -98,7 +98,7 @@ class Player(object):
 
 
     def play_sound(self, name):
-        self._game.player_sfx.play('%s.wav' % name)
+        self._game.sfx_player.play('%s.wav' % name)
 
 
     def collide(self):