mirror of
https://github.com/logsol/chuck.js.git
synced 2026-05-11 10:37:34 +00:00
removed console logs
This commit is contained in:
parent
0592e2524d
commit
a22fbcbbc8
2 changed files with 2 additions and 3 deletions
|
|
@ -77,7 +77,6 @@
|
||||||
levelUid: gameControllerOptions.levelUid
|
levelUid: gameControllerOptions.levelUid
|
||||||
};
|
};
|
||||||
|
|
||||||
console.log("beginRound")
|
|
||||||
this.broadcastControlCommand("beginRound", clientGameControllerOptions);
|
this.broadcastControlCommand("beginRound", clientGameControllerOptions);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -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) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue