From d010ac34b3088252291ce16575cbc73b026e5982 Mon Sep 17 00:00:00 2001 From: terencehill Date: Fri, 11 Mar 2022 01:22:14 +0100 Subject: [PATCH] Don't show the Welcome dialog in the campaign, centerprint level description works best here --- qcsrc/menu/command/menu_cmd.qc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/qcsrc/menu/command/menu_cmd.qc b/qcsrc/menu/command/menu_cmd.qc index 8de4bf4f0..2587602fc 100644 --- a/qcsrc/menu/command/menu_cmd.qc +++ b/qcsrc/menu/command/menu_cmd.qc @@ -95,6 +95,8 @@ void GameCommand(string theCommand) } else if (argc == 2 && !isdemo()) // don't allow this command in demos { + if (argv(1) == "Welcome" && cvar("g_campaign")) + return; m_play_click_sound(MENU_SOUND_OPEN); m_goto(strcat(filter, argv(1))); // switch to a menu item } -- 2.39.2