mirror of
https://github.com/Detanup01/gbe_fork.git
synced 2024-12-05 08:45:37 +08:00
Merge pull request #106 from Edremon/fix/total_files_sizes
Fix total_files_sizes fallback
This commit is contained in:
commit
d50f693348
@ -1030,7 +1030,7 @@ static void try_parse_mods_file(class Settings *settings_client, Settings *setti
|
||||
}
|
||||
newMod.previewFileSize = mod.value().value("preview_filesize", preview_filesize);
|
||||
|
||||
newMod.total_files_sizes = mod.value().value("total_files_sizes", primary_filesize);
|
||||
newMod.total_files_sizes = mod.value().value("total_files_sizes", newMod.primaryFileSize);
|
||||
newMod.min_game_branch = mod.value().value("min_game_branch", "");
|
||||
newMod.max_game_branch = mod.value().value("max_game_branch", "");
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user