mirror of
https://github.com/loot/libloot.git
synced 2026-07-27 14:16:01 -07:00
Fix translation bug loading assets unnecessarily
This commit is contained in:
+3
-1
@@ -110,7 +110,9 @@ impl Plugin {
|
||||
|
||||
archive_paths = find_associated_archives(game_type, game_cache, plugin_path);
|
||||
|
||||
archive_assets = assets_in_archives(&archive_paths);
|
||||
if load_scope == LoadScope::WholePlugin {
|
||||
archive_assets = assets_in_archives(&archive_paths);
|
||||
}
|
||||
|
||||
Some(plugin)
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user