From 69d2f2dcc80738b1d263a9a6a7c8d94749ffeafa Mon Sep 17 00:00:00 2001 From: Maroxy Date: Sun, 24 Oct 2021 12:10:50 +0200 Subject: [PATCH] fix typo --- src/ts/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ts/index.ts b/src/ts/index.ts index 712097d..aedad4c 100644 --- a/src/ts/index.ts +++ b/src/ts/index.ts @@ -308,7 +308,7 @@ $(() => { let voicePack = diff.voice_packs[1]; // en-us for (let i = 0; i < diff.voice_packs.length; ++i) - if (diff.voice_packs[i].language == Genshinlib.getConfig('voice')) + if (diff.voice_packs[i].language == Genshinlib.getConfig('lang.voice')) { voicePack = diff.voice_packs[i];