fix(serverlist): remove toast notification

This commit is contained in:
Diavolo 2023-06-18 15:10:29 +02:00
parent 2ae991ccbf
commit 77bfbd8e85
No known key found for this signature in database
GPG Key ID: FA77F074E98D98A5

View File

@ -302,8 +302,7 @@ namespace Components
Game::netadr_t masterServerAddr; Game::netadr_t masterServerAddr;
if (!GetMasterServer(masterServerName, masterPort, masterServerAddr)) if (!GetMasterServer(masterServerName, masterPort, masterServerAddr))
{ {
Logger::Print("Could not resolve address for {}:{}", masterServerName, masterPort); Logger::Print("Could not resolve address for {}:{}\n", masterServerName, masterPort);
Toast::Show("cardicon_headshot", "^1Error", std::format("Could not resolve address for {}:{}", masterServerName, masterPort), 5000);
UseMasterServer = false; UseMasterServer = false;
return; return;
} }