string msg = MakeConsoleSafe(strreplace("\n", "\\n", welcome_msg));
welcomedialog_args = strcat(welcomedialog_args, " WELCOME \"", msg, "\"");
localcmd("\nmenu_cmd directmenu Welcome ", welcomedialog_args, "\n");
- if (intermission || isdemo()) // close it after it's been initialized so it can still be opened manually
+ if (intermission || isdemo() || !autocvar_cl_welcome)
+ // close it after it's been initialized so it can still be opened manually
localcmd("\ntogglemenu 0\n");
}