mirror of
https://github.com/unanmed/HumanBreak.git
synced 2025-01-31 23:29:27 +08:00
fix: fromAuthor传入的参数错误
This commit is contained in:
parent
e0fe4be7bc
commit
c242018ee8
@ -37,7 +37,7 @@ export class Hotkey extends EventEmitter<HotkeyEvent> {
|
|||||||
constructor(id: string, storage: boolean = true) {
|
constructor(id: string, storage: boolean = true) {
|
||||||
super();
|
super();
|
||||||
if (storage) {
|
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>(
|
const storage = new GameStorage<SettingStorage>(
|
||||||
GameStorage.fromAuthor('Mota', 'setting')
|
GameStorage.fromAuthor('AncTe', 'setting')
|
||||||
);
|
);
|
||||||
|
|
||||||
loading.once('coreInit', () => {
|
loading.once('coreInit', () => {
|
||||||
|
Loading…
Reference in New Issue
Block a user