mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-18 12:33:30 +01:00
god damn it i forgot to save the file the first time
This commit is contained in:
@@ -200,7 +200,7 @@ class StreamDispatcher extends Writable {
|
|||||||
setTimeout(done.bind(this), next);
|
setTimeout(done.bind(this), next);
|
||||||
}
|
}
|
||||||
if (this._sdata.sequence >= (2 ** 16) - 1) this._sdata.sequence = -1;
|
if (this._sdata.sequence >= (2 ** 16) - 1) this._sdata.sequence = -1;
|
||||||
if (this._sdata.timestamp >= (2 ** 32) - 1) this._sdata.timestamp = -TIMESTAMP_INC;
|
if (this._sdata.timestamp >= (2 ** 32) - TIMESTAMP_INC) this._sdata.timestamp = -TIMESTAMP_INC;
|
||||||
this._sdata.sequence++;
|
this._sdata.sequence++;
|
||||||
this._sdata.timestamp += TIMESTAMP_INC;
|
this._sdata.timestamp += TIMESTAMP_INC;
|
||||||
this.count++;
|
this.count++;
|
||||||
|
|||||||
Reference in New Issue
Block a user