mirror of
https://github.com/motajs/template.git
synced 2026-11-13 23:04:32 +08:00
feat: 录像存储
This commit is contained in:
1 parent
cee843981f
commit
82205a9dc1
3 files changed
+35
-2
No files matched your search
@@ -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}`);
|
||||
|
||||
Reference in new issue
Block a user