Fix accidental state change for predownload

This commit is contained in:
Maroxy 2022-02-20 04:57:47 +01:00
parent f05d25b021
commit ab5cf4e658
No known key found for this signature in database
GPG key ID: F4B27EADB21E3021

View file

@ -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(() => {