forked from Mirrorlandia_minetest/minetest
Show media download progress in percent on progress screen (#5498)
This commit is contained in:
parent
3a90b78a03
commit
63e175dd70
@ -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"))) {
|
||||
|
Loading…
Reference in New Issue
Block a user