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

@ -77,7 +77,6 @@
levelUid: gameControllerOptions.levelUid levelUid: gameControllerOptions.levelUid
}; };
console.log("beginRound")
this.broadcastControlCommand("beginRound", clientGameControllerOptions); this.broadcastControlCommand("beginRound", clientGameControllerOptions);
}; };

View file

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