Remove more from server name as seen in server.cpp:247

This commit is contained in:
Benau 2021-09-04 13:27:34 +08:00
parent 3f2e011f11
commit fe5b49e63a

View File

@ -712,7 +712,8 @@ void ClientLobby::handleServerInfo(Event* event)
// Add server info
uint8_t u_data;
data.decodeStringW(&str);
str.remove(L'\n');
str.removeChars(L"\n\r\t");
NetworkingLobby::getInstance()->setHeader(str);
u_data = data.getUInt8();