Fix drink counter not resetting after each video
This commit is contained in:
parent
120cdf50e4
commit
94cba2e72e
|
|
@ -980,6 +980,8 @@ Channel.prototype.broadcastDrinks = function() {
|
||||||
Channel.prototype.onVideoChange = function () {
|
Channel.prototype.onVideoChange = function () {
|
||||||
this.voteskip = false;
|
this.voteskip = false;
|
||||||
this.broadcastVoteskipUpdate();
|
this.broadcastVoteskipUpdate();
|
||||||
|
this.drinks = 0;
|
||||||
|
this.broadcastDrinks();
|
||||||
}
|
}
|
||||||
|
|
||||||
// The server autolead function
|
// The server autolead function
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue