Skip to content
Permalink
Browse files

Show media download progress in percent on progress screen (#5498)

  • Loading branch information
orwell96 authored and nerzhul committed Apr 6, 2017
1 parent 3a90b78 commit 63e175dd70898e2ae714a025d1eaee45a453d41c
Showing with 4 additions and 2 deletions.
  1. +4 −2 src/game.cpp
@@ -2192,8 +2192,10 @@ bool Game::getServerContent(bool *aborted)
delete[] text;
} else {
std::stringstream message;
message.precision(3);
message << gettext("Media...");
std::fixed(message);
message.precision(0);
message << gettext("Media...") << " " << (client->mediaReceiveProgress()*100) << "%";
message.precision(2);

if ((USE_CURL == 0) ||
(!g_settings->getBool("enable_remote_media_server"))) {

0 comments on commit 63e175d

Please sign in to comment.