From fdb805cfe9b0cbeea1ded7b06dc84ddbd2bc42c9 Mon Sep 17 00:00:00 2001 From: Justin Worthe Date: Sat, 27 Sep 2014 09:58:27 +0200 Subject: Cleaned up play.js --- game/entities/player.js | 1 + 1 file changed, 1 insertion(+) (limited to 'game/entities/player.js') 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); -- cgit v1.2.3