return true;
}
- welcome_msg_force_centerprint = ReadByte();
strcpy(hostname, ReadString());
string hostversion = ReadString();
if (!welcome_msg_menu_check_maxtime)
return;
- bool want_dialog = (!welcome_msg_force_centerprint && !isdemo() && autocvar_cl_welcome_in_menu_dialog);
+ bool want_dialog = !isdemo();
// if want dialog check if menu is initialized but for a short time
if (!want_dialog || cvar("_menu_initialized") == 2 || time > welcome_msg_menu_check_maxtime)
{
if (intermission) // close it after it's been initialized so it can still be opened manually
localcmd("\ntogglemenu 0\n");
}
- else
- centerprint_Add(ORDINAL(CPID_MOTD), strcat(hostname, "\n\n\n", welcome_msg), 15, 0);
strfree(welcome_msg);
welcome_msg_menu_check_maxtime = 0;