fix: fromAuthor传入的参数错误

This commit is contained in:
unanmed 2023-09-25 18:01:24 +08:00
parent e0fe4be7bc
commit c242018ee8
2 changed files with 2 additions and 2 deletions

View File

@ -37,7 +37,7 @@ export class Hotkey extends EventEmitter<HotkeyEvent> {
constructor(id: string, storage: boolean = true) {
super();
if (storage) {
this.storage = new GameStorage(GameStorage.fromAuthor('Mota', id));
this.storage = new GameStorage(GameStorage.fromAuthor('AncTe', id));
}
}

View File

@ -403,7 +403,7 @@ interface SettingStorage {
}
const storage = new GameStorage<SettingStorage>(
GameStorage.fromAuthor('Mota', 'setting')
GameStorage.fromAuthor('AncTe', 'setting')
);
loading.once('coreInit', () => {