quake2ts 0.0.231 → 0.0.232

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.
@@ -6661,6 +6661,7 @@ var DemoReader = class {
6661
6661
  };
6662
6662
 
6663
6663
  // src/demo/parser.ts
6664
+ var PROTOCOL_VERSION_RERELEASE = 2023;
6664
6665
  var U_ORIGIN12 = 1 << 0;
6665
6666
  var U_ORIGIN22 = 1 << 1;
6666
6667
  var U_ANGLE22 = 1 << 2;
@@ -6764,6 +6765,9 @@ var NetworkMessageParser = class {
6764
6765
  if (cmd === 6) return ServerCommand.reconnect;
6765
6766
  if (cmd === 16) return ServerCommand.temp_entity;
6766
6767
  }
6768
+ if (this.protocolVersion === PROTOCOL_VERSION_RERELEASE) {
6769
+ return cmd;
6770
+ }
6767
6771
  return cmd;
6768
6772
  }
6769
6773
  parseMessage() {