Skip to content

Commit

Permalink
Fix erroneous caching
Browse files Browse the repository at this point in the history
  • Loading branch information
Malacath-92 committed Mar 29, 2021
1 parent da7253e commit f1144f0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion source/playlunky/mod/mod_manager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,8 @@ ModManager::ModManager(std::string_view mods_root, const PlaylunkySettings& sett
LogInfo("Scanning for mods...");

const bool enable_loose_audio_files = settings.GetBool("settings", "enable_loose_audio_files", true);
const bool cache_decoded_audio_files = enable_loose_audio_files && settings.GetBool("settings", "cache_decoded_audio_files", true);
const bool cache_decoded_audio_files = enable_loose_audio_files
&& (settings.GetBool("settings", "cache_decoded_audio_files", false) || settings.GetBool("audio_settings", "cache_decoded_audio_files", false));
bool load_order_updated{ false };

const fs::path mods_root_path{ mods_root };
Expand Down

0 comments on commit f1144f0

Please sign in to comment.