Fixed invalid channel tree unique id assignment for the initial server entry (https://forum.teaspeak.de/index.php?threads/2986)

canary
WolverinDEV 2020-10-04 15:10:59 +02:00
parent 444c4d78f7
commit 4cdabc620b
1 changed files with 1 additions and 1 deletions

View File

@ -14,7 +14,7 @@ export abstract class ChannelTreeEntry<Events extends ChannelTreeEntryEvents> {
protected unread_: boolean = false;
protected constructor() {
this.uniqueEntryId = treeEntryIdCounter++;
this.uniqueEntryId = ++treeEntryIdCounter;
}
/* called from the channel tree */