feat: 录像存储

This commit is contained in:
AncTe committed 2026-09-14 18:17:37 +08:00
1 parent cee843981f
commit 82205a9dc1
3 files changed
+35 -2

No files matched your search

+1
View File
@@ -238,6 +238,7 @@ export class CoreState implements ICoreState {
this.addSaveableContent('@system/flags', this.flags);
this.addSaveableContent('@system/maps', this.maps);
this.addSaveableContent('@system/enemy', this.enemyManager);
this.addSaveableContent('@system/replay', this.replaySystem);
// 初始化存档数据库,不要动
loading.once('coreInit', () => {
this.saveSystem.init(`@game/${core.firstData.name}`);