@colyseus/schema 3.0.56 → 3.0.57

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1302,9 +1302,9 @@ class ChangeTree {
1302
1302
  //
1303
1303
  this.ref[$onEncodeEnd]?.();
1304
1304
  this.indexedOperations = {};
1305
- this.changes = createChangeSet();
1305
+ this.changes = createChangeSet(this.changes.queueRootNode);
1306
1306
  if (this.filteredChanges !== undefined) {
1307
- this.filteredChanges = createChangeSet();
1307
+ this.filteredChanges = createChangeSet(this.filteredChanges.queueRootNode);
1308
1308
  }
1309
1309
  if (discardAll) {
1310
1310
  // preserve queueRootNode references