summaryrefslogtreecommitdiff
path: root/game
diff options
context:
space:
mode:
authorJustin Worthe <justin.worthe@gmail.com>2014-08-02 21:11:24 +0200
committerJustin Worthe <justin.worthe@gmail.com>2014-08-02 21:11:24 +0200
commita26171ddfa7a658b554f821bef30ac4080fa46dd (patch)
tree4e46bb6b6c763f69acfbac6ba56a3fa73912c0d8 /game
parent32dd2c2e711223722e3f5a45b362d5cadd802b47 (diff)
Updated width fix. Last one didn't work on firefox.
Diffstat (limited to 'game')
-rw-r--r--game/prefabs/player.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/game/prefabs/player.js b/game/prefabs/player.js
index df991b2..344793b 100644
--- a/game/prefabs/player.js
+++ b/game/prefabs/player.js
@@ -33,7 +33,7 @@ var Player = function(game, x, y, key, frame, soundKey) {
var scoreFraction = player.score / player.maxScore;
source.playbackRate.value = 0.75 + scoreFraction*6;
return source;
- }
+ };
};
Player.prototype = Object.create(Phaser.Sprite.prototype);