summaryrefslogtreecommitdiff
path: root/game/entities/player.js
diff options
context:
space:
mode:
authorJustin Worthe <justin.worthe@gmail.com>2014-09-27 09:58:27 +0200
committerJustin Worthe <justin.worthe@gmail.com>2014-09-27 09:58:27 +0200
commitfdb805cfe9b0cbeea1ded7b06dc84ddbd2bc42c9 (patch)
tree63044e367878c8b4146b8294f16791f36fef94c1 /game/entities/player.js
parent959915d7d89e8d967124657a901dad4f28459314 (diff)
Cleaned up play.js
Diffstat (limited to 'game/entities/player.js')
-rw-r--r--game/entities/player.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/game/entities/player.js b/game/entities/player.js
index f8c7a8b..b2214ff 100644
--- a/game/entities/player.js
+++ b/game/entities/player.js
@@ -29,6 +29,7 @@ var Player = function(game, x, y, key, soundKey) {
this.hasPoisonPill = true;
this.poisonPillActive = false;
this.gamepadPoisonLastPressed = Number.NEGATIVE_INFINITY;
+ this.keyboardPoisonLastPressed = Number.NEGATIVE_INFINITY;
this.lastTween = null;
this.scoreSound = game.sound.add(soundKey);