[FIRE-36102] Fix the cache from being cleared every launch if NewCacheLocation is invalid

master
Hecklezz 2025-11-15 02:28:46 +10:00
parent 218276893b
commit 115aca2a4f
1 changed files with 2 additions and 0 deletions

View File

@ -5199,6 +5199,8 @@ bool LLAppViewer::initCache()
LL_WARNS("AppCache") << "Unable to set cache location" << LL_ENDL;
gSavedSettings.setString("CacheLocation", "");
gSavedSettings.setString("CacheLocationTopFolder", "");
gSavedSettings.setString("NewCacheLocation", "");
gSavedSettings.setString("NewCacheLocationTopFolder", "");
}
// <FS:Ansariel> Sound cache