From f90076c7fb17278c1871e2d1eaeb5c1e20df5c9e Mon Sep 17 00:00:00 2001 From: logsol Date: Mon, 31 Mar 2014 04:57:49 +0200 Subject: [PATCH] suicide will score, for quicker testing --- app/Game/Channel/Player.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Game/Channel/Player.js b/app/Game/Channel/Player.js index f05de54..1c25e59 100755 --- a/app/Game/Channel/Player.js +++ b/app/Game/Channel/Player.js @@ -66,7 +66,7 @@ function (Parent, Nc) { if(this.stats.health < 0) this.stats.health = 0; if(this.stats.health <= 0) { - if(enemy != this) enemy.score(); + /*if(enemy != this) for testing! */ enemy.score(); this.kill(enemy); } else { this.broadcastStats();