Skip to content

Commit

Permalink
Fixed|Multiplayer: Showing incorrect ping time to server
Browse files Browse the repository at this point in the history
Ping estimation is currently broken (not done at the correct time),
so hiding this information from the UI until a proper fix is made.

IssueID #1781
  • Loading branch information
skyjake committed Apr 24, 2014
1 parent 99770c4 commit ee9e644
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions doomsday/client/src/network/net_main.cpp
Expand Up @@ -809,19 +809,19 @@ de::String ServerInfo_AsStyledText(serverinfo_t const *sv)
#define TABBED(A, B) _E(Ta)_E(l) " " A _E(.) " " _E(\t) B "\n"
return de::String(_E(b) "%1" _E(.) "\n%2\n" _E(T`)
TABBED("Joinable:", "%5")
TABBED("Players:", "%3 / %4%13")
TABBED("Game:", "%9\n%10\n%12 %11")
TABBED("PWADs:", "%14")
TABBED("Players:", "%3 / %4%12")
TABBED("Game:", "%8\n%9\n%11 %10")
TABBED("PWADs:", "%13")
TABBED("Address:", "%6:%7")
TABBED("Ping:", "%8 ms (approx)"))
/*TABBED("Ping:", "%8 ms (approx)")*/)
.arg(sv->name)
.arg(sv->description)
.arg(sv->numPlayers)
.arg(sv->maxPlayers)
.arg(sv->canJoin? "Yes" : "No") // 5
.arg(sv->address)
.arg(sv->port)
.arg(sv->ping)
//.arg(sv->ping)
.arg(sv->plugin)
.arg(sv->gameIdentityKey) // 10
.arg(sv->gameConfig)
Expand Down

0 comments on commit ee9e644

Please sign in to comment.