fix: fromAuthor传入的参数错误

This commit is contained in:
AncTe committed 2023-09-25 18:01:24 +08:00
1 parent e0fe4be7bc
commit c242018ee8
2 files changed
+2 -2

No files matched your search

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