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.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/game/prefabs/player.js b/game/prefabs/player.js
index a4d1b57..fb63707 100644
--- a/game/prefabs/player.js
+++ b/game/prefabs/player.js
@@ -17,6 +17,9 @@ var Player = function(game, x, y, key, frame, soundKey) {
this.isMyTurn = false;
this.animIsMyTurn = true;
+ this.hasPoisonPill = true;
+ this.poisonPillActive = false;
+
this.scoreSound = game.sound.add(soundKey);