Skip to content

Commit

Permalink
feat: display archive download progression
Browse files Browse the repository at this point in the history
  • Loading branch information
Alystrasz committed Nov 1, 2023
1 parent 40cd2e1 commit febb671
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,8 @@ void function UpdateModDownloadDialog( RequiredModInfo mod, ModInstallState stat
{
switch (state.status) {
case eModInstallStatus.DOWNLOADING:
Hud_SetText( header, "DOWNLOADING MOD..." )
Hud_SetText( header, format( "DOWNLOADING MOD (%s", string(state.ratio) ) + "%)")
Hud_SetText( body, format( "Downloading %s v%s...\n(%i/%i MB)", mod.name, mod.version, floor(state.progress / MB), floor(state.total / MB) ) )
break;
case eModInstallStatus.CHECKSUMING:
Hud_SetText( header, "CHECKSUMING MOD..." )
Expand Down

0 comments on commit febb671

Please sign in to comment.