mirror of
https://github.com/XLabsProject/s1x-client.git
synced 2023-08-02 15:02:12 +02:00
Prevent multiline servernames
This commit is contained in:
parent
fdd291030e
commit
0a46d4b980
@ -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)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user