removed console logs

This commit is contained in:
Jeena 2015-04-19 11:23:19 +02:00
parent 0592e2524d
commit a22fbcbbc8
2 changed files with 2 additions and 3 deletions

View file

@ -65,12 +65,12 @@ function (Parent, Nc) {
if(this.stats.health < 0) this.stats.health = 0;
this.broadcastStats();
if(this.stats.health <= 0) {
if(enemy != this) enemy.score();
this.kill(enemy, byItem);
}
this.broadcastStats();
};
Player.prototype.spawn = function(x, y) {