mirror of
https://github.com/logsol/chuck.js.git
synced 2026-05-11 10:37:34 +00:00
console.log, checkpoint and code cleanup
This commit is contained in:
parent
39f684315b
commit
55b56f9c12
4 changed files with 31 additions and 29 deletions
|
|
@ -62,7 +62,7 @@
|
|||
levelUid: this.getNextLevelUid()
|
||||
};
|
||||
|
||||
console.log(gameControllerOptions)
|
||||
console.checkpoint("Begin Round (" + this.name + ")");
|
||||
|
||||
this.gameController = new GameController(gameControllerOptions);
|
||||
|
||||
|
|
@ -80,6 +80,8 @@
|
|||
Channel.prototype.onEndRound = function() {
|
||||
var self = this;
|
||||
this.broadcastControlCommand("endRound", true);
|
||||
|
||||
console.checkpoint("End Round (" + this.name + ") - Begin Round in " + Settings.CHANNEL_END_ROUND_TIME + " seconds");
|
||||
|
||||
setTimeout(function() {
|
||||
self.beginRound();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue