mirror of
https://github.com/an-anime-team/an-anime-game-launcher.git
synced 2024-12-30 05:28:15 +03:00
Fix accidental state change for predownload
This commit is contained in:
parent
f05d25b021
commit
ab5cf4e658
1 changed files with 1 additions and 1 deletions
|
@ -87,7 +87,7 @@ export default class State
|
|||
const predownloadModule = import('./states/Predownload');
|
||||
const predownloadVoiceModule = import('./states/PredownloadVoice');
|
||||
|
||||
(this._state === 'game-launch-available' ? predownloadModule : predownloadVoiceModule)
|
||||
(this._state === 'game-pre-installation-available' ? predownloadModule : predownloadVoiceModule)
|
||||
.then((module) => {
|
||||
module.default(this.launcher).then(() => {
|
||||
this.update().then(() => {
|
||||
|
|
Loading…
Reference in a new issue