summaryrefslogtreecommitdiff
path: root/game/prefabs/player.js
diff options
context:
space:
mode:
Diffstat (limited to 'game/prefabs/player.js')
-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 f0a6b65..44c4aa2 100644
--- a/game/prefabs/player.js
+++ b/game/prefabs/player.js
@@ -25,6 +25,7 @@ var Player = function(game, x, y, key, frame, soundKey) {
this.hasPoisonPill = true;
this.poisonPillActive = false;
+ this.gamepadPoisonLastPressed = Number.NEGATIVE_INFINITY;
this.lastTween = null;
this.scoreSound = game.sound.add(soundKey);