fix: self._installer.get_game_version() in update_voiceover

This commit is contained in:
2022-08-17 02:08:28 +07:00
parent 5066a4e2b3
commit 2b9951dcaa
2 changed files with 2 additions and 2 deletions

View File

@ -203,7 +203,7 @@ class UI:
async def update_voiceover(self, languages: str | list):
if isinstance(languages, str):
languages = languages.split(" ")
game_ver = self._vo_version or self._installer.get_game_version()
game_ver = self._vo_version or await self._installer.get_game_version()
if not game_ver:
print("Couldn't detect current game installation, is game installed?")
return