From ab5cf4e65887a6a4af7d19bdb6b57d6de26e3046 Mon Sep 17 00:00:00 2001 From: Maroxy Date: Sun, 20 Feb 2022 04:57:47 +0100 Subject: [PATCH] Fix accidental state change for predownload --- src/ts/launcher/State.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ts/launcher/State.ts b/src/ts/launcher/State.ts index 4f52171..180ced7 100644 --- a/src/ts/launcher/State.ts +++ b/src/ts/launcher/State.ts @@ -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(() => {