quake2ts 0.0.43 → 0.0.45
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.
- package/apps/viewer/dist/browser/index.global.js +1 -1
- package/apps/viewer/dist/browser/index.global.js.map +1 -1
- package/apps/viewer/dist/cjs/index.cjs +3 -0
- package/apps/viewer/dist/cjs/index.cjs.map +1 -1
- package/apps/viewer/dist/esm/index.js +3 -0
- package/apps/viewer/dist/esm/index.js.map +1 -1
- package/apps/viewer/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
- package/packages/game/dist/browser/index.global.js +1 -1
- package/packages/game/dist/browser/index.global.js.map +1 -1
- package/packages/game/dist/cjs/index.cjs +152 -0
- package/packages/game/dist/cjs/index.cjs.map +1 -1
- package/packages/game/dist/esm/index.js +148 -0
- package/packages/game/dist/esm/index.js.map +1 -1
- package/packages/game/dist/tsconfig.tsbuildinfo +1 -1
- package/packages/game/dist/types/save/rerelease.d.ts +25 -0
- package/packages/game/dist/types/save/rerelease.d.ts.map +1 -1
|
@@ -2531,6 +2531,9 @@ function parseSaveFile(serialized, options = {}) {
|
|
|
2531
2531
|
configstrings: parseConfigstrings(save.configstrings)
|
|
2532
2532
|
};
|
|
2533
2533
|
}
|
|
2534
|
+
var SERIALIZABLE_FIELD_NAMES = new Set(
|
|
2535
|
+
ENTITY_FIELD_METADATA.filter((field) => field.save).map((field) => field.name)
|
|
2536
|
+
);
|
|
2534
2537
|
var TEXT_ENCODER_CTOR = globalThis.TextEncoder;
|
|
2535
2538
|
function cloneSave(save) {
|
|
2536
2539
|
return parseSaveFile({ ...save }, { allowNewerVersion: true });
|