diff --git a/vallc.ps1 b/vallc.ps1 index e9d9fd6..a8f90e3 100644 --- a/vallc.ps1 +++ b/vallc.ps1 @@ -229,7 +229,7 @@ try { $lastPatchUrl = '' # check if both lang files exist, if not download - if (!(Test-Path (-join($savePath, $savePakPath, $config.textLang, '_Text-WindowsClient.pak'))) -or !(Test-Path (-join($savePath, $savePakPath, $config.voiceLang, '_Text-WindowsClient.pak')))) { + if (Test-Path (-join($savePath, 'url.txt')) -and (!(Test-Path (-join($savePath, $savePakPath, $config.textLang, '_Text-WindowsClient.pak'))) -or !(Test-Path (-join($savePath, $savePakPath, $config.voiceLang, '_Text-WindowsClient.pak'))))) { Remove-Item (-join($savePath, 'url.txt')) }