Do not only strip material text icons from server names but for all server attributes that are displayed in the server list
This commit is contained in:
parent
f3c2b999eb
commit
aaace9db35
@ -454,9 +454,6 @@ namespace Components
|
||||
|
||||
ServerInfo server;
|
||||
server.hostname = info.get("hostname");
|
||||
|
||||
Dedicated::StripMaterialTextIcons(server.hostname.data());
|
||||
|
||||
server.mapname = info.get("mapname");
|
||||
server.gametype = info.get("gametype");
|
||||
server.shortversion = info.get("shortversion");
|
||||
@ -472,6 +469,11 @@ namespace Components
|
||||
server.ping = (Game::Sys_Milliseconds() - i->sendTime);
|
||||
server.addr = address;
|
||||
|
||||
Dedicated::StripMaterialTextIcons(server.hostname.data());
|
||||
Dedicated::StripMaterialTextIcons(server.mapname.data());
|
||||
Dedicated::StripMaterialTextIcons(server.gametype.data());
|
||||
Dedicated::StripMaterialTextIcons(server.mod.data());
|
||||
|
||||
// Remove server from queue
|
||||
i = ServerList::RefreshContainer.servers.erase(i);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user