fixed prepareStats bug
This commit is contained in:
parent
c74b72b6eb
commit
1447a21c8c
@ -610,7 +610,7 @@ Node.prototype.sendStatsUpdate = function (force)
|
|||||||
{
|
{
|
||||||
if( this.changed() || force ) {
|
if( this.changed() || force ) {
|
||||||
console.info("wsc", "Sending", chalk.reset.blue((force ? "forced" : "changed")), chalk.bold.white("update"));
|
console.info("wsc", "Sending", chalk.reset.blue((force ? "forced" : "changed")), chalk.bold.white("update"));
|
||||||
this.emit('stats', this.prepareBasic());
|
this.emit('stats', this.prepareStats());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user