Skip to content
Permalink
Browse files

Fix Media... 0% on loading screen (#9478)

  • Loading branch information
MoNTE48 committed Oct 21, 2020
1 parent f53396b commit 5c0a57f6068000b0414cf2a3ef76a8bf4852b379
Showing with 4 additions and 1 deletion.
  1. +4 −1 src/client/game.cpp
@@ -1641,7 +1641,10 @@ bool Game::getServerContent(bool *aborted)
std::stringstream message;
std::fixed(message);
message.precision(0);
message << gettext("Media...") << " " << (client->mediaReceiveProgress()*100) << "%";
float receive = client->mediaReceiveProgress() * 100;
message << gettext("Media...");
if (receive > 0)
message << " " << receive << "%";
message.precision(2);

if ((USE_CURL == 0) ||

0 comments on commit 5c0a57f

Please sign in to comment.
You can’t perform that action at this time.