suicide will score, for quicker testing

This commit is contained in:
logsol 2014-03-31 04:57:49 +02:00
parent c31123514d
commit f90076c7fb

View file

@ -66,7 +66,7 @@ function (Parent, Nc) {
if(this.stats.health < 0) this.stats.health = 0; if(this.stats.health < 0) this.stats.health = 0;
if(this.stats.health <= 0) { if(this.stats.health <= 0) {
if(enemy != this) enemy.score(); /*if(enemy != this) for testing! */ enemy.score();
this.kill(enemy); this.kill(enemy);
} else { } else {
this.broadcastStats(); this.broadcastStats();