Prevent multiline servernames

This commit is contained in:
momo5502 2021-04-26 20:44:06 +02:00
parent fdd291030e
commit 0a46d4b980

View File

@ -254,6 +254,8 @@ namespace server_list
void resize_host_name(std::string& name)
{
name = utils::string::split(name, '\n').front();
game::Font_s* font;
if (game::Com_GetCurrentCoDPlayMode() == game::CODPLAYMODE_ZOMBIES)
{