mirror of
https://github.com/unanmed/HumanBreak.git
synced 2026-11-16 20:24:31 +08:00
fix: fromAuthor传入的参数错误
This commit is contained in:
1 parent
e0fe4be7bc
commit
c242018ee8
2 files changed
+2
-2
No files matched your search
@@ -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));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -403,7 +403,7 @@ interface SettingStorage {
|
||||
}
|
||||
|
||||
const storage = new GameStorage<SettingStorage>(
|
||||
GameStorage.fromAuthor('Mota', 'setting')
|
||||
GameStorage.fromAuthor('AncTe', 'setting')
|
||||
);
|
||||
|
||||
loading.once('coreInit', () => {
|
||||
|
||||
Reference in new issue
Block a user