summaryrefslogtreecommitdiff
path: root/game/entities/player.js
diff options
context:
space:
mode:
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);