Skip to content

Commit

Permalink
Fix total_files_sizes fallback
Browse files Browse the repository at this point in the history
  • Loading branch information
Edremon committed Nov 29, 2024
1 parent 27b7c72 commit 1647447
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dll/settings_parser.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1015,7 +1015,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", "");

Expand Down

0 comments on commit 1647447

Please sign in to comment.