mirror of
https://github.com/logsol/chuck.js.git
synced 2026-05-11 10:37:34 +00:00
suicide will score, for quicker testing
This commit is contained in:
parent
c31123514d
commit
f90076c7fb
1 changed files with 1 additions and 1 deletions
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue