if (nPrimary == K_ESCAPE && !(hudShiftState & S_SHIFT) && key_pressed)
{
- if (cvar("_menu_gamemenu_dialog_available"))
+ if (!isdemo() && cvar("_menu_gamemenu_dialog_available"))
{
localcmd("\nmenu_showgamemenudialog\n");
return true;
strcpy(teamscores_label(i), ReadString());
teamscores_flags(i) = ReadByte();
}
- net_handle_ServerWelcome();
+ bool welcome_msg_too = ReadByte();
+ if (welcome_msg_too)
+ net_handle_ServerWelcome();
return = true;
Scoreboard_InitScores();
Gamemode_Init();