summaryrefslogtreecommitdiff
path: root/game/prefabs
diff options
context:
space:
mode:
authorJustin Worthe <justin.worthe@gmail.com>2014-08-31 14:17:06 +0200
committerJustin Worthe <justin.worthe@gmail.com>2014-08-31 14:17:06 +0200
commit25b5fb04067dcc65d1bbb76a99a919d92ceaab25 (patch)
tree35efb6a1a2c628fb1923b55a3bab65c036c45a38 /game/prefabs
parent94892a4e24b5c7b9618d6d5ae3e676b11ae8896d (diff)
Added sound effect for player respawning
Diffstat (limited to 'game/prefabs')
-rw-r--r--game/prefabs/player.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/game/prefabs/player.js b/game/prefabs/player.js
index 44c4aa2..fac3967 100644
--- a/game/prefabs/player.js
+++ b/game/prefabs/player.js
@@ -29,6 +29,7 @@ var Player = function(game, x, y, key, frame, soundKey) {
this.lastTween = null;
this.scoreSound = game.sound.add(soundKey);
+ this.respawnSound = game.sound.add('owSound');
//BEWARE! HORRIBLE HACK AHEAD!