summaryrefslogtreecommitdiff
path: root/game/prefabs/player.js
diff options
context:
space:
mode:
authorJustin Worthe <justin.worthe@gmail.com>2014-09-02 07:29:19 +0200
committerJustin Worthe <justin.worthe@gmail.com>2014-09-02 07:29:19 +0200
commit0afb9206527dfae6793e5e569bd9084018048844 (patch)
tree5130b1365c709b0be7c31a8574c030c99788493c /game/prefabs/player.js
parent4b108a35a580d4805553ad7d3075e9fb4ec0f48b (diff)
Handled players both eating poison together
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 fac3967..c7f0b94 100644
--- a/game/prefabs/player.js
+++ b/game/prefabs/player.js
@@ -17,6 +17,7 @@ var Player = function(game, x, y, key, frame, soundKey) {
this.score = 0;
this.maxScore = 1;
this.isMyTurn = false;
+ this.canBeEaten = true;
this.currentAnimation = {
isMyTurn: true,