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
|
@@ -2505,6 +2505,9 @@ function parseSaveFile(serialized, options = {}) {
|
|
|
2505
2505
|
configstrings: parseConfigstrings(save.configstrings)
|
|
2506
2506
|
};
|
|
2507
2507
|
}
|
|
2508
|
+
var SERIALIZABLE_FIELD_NAMES = new Set(
|
|
2509
|
+
ENTITY_FIELD_METADATA.filter((field) => field.save).map((field) => field.name)
|
|
2510
|
+
);
|
|
2508
2511
|
var TEXT_ENCODER_CTOR = globalThis.TextEncoder;
|
|
2509
2512
|
function cloneSave(save) {
|
|
2510
2513
|
return parseSaveFile({ ...save }, { allowNewerVersion: true });
|