From 1bd9a5ea014099916c0b0d99a12906aeefe7c450 Mon Sep 17 00:00:00 2001 From: Marco Cawthorne Date: Fri, 30 Dec 2022 12:09:23 -0800 Subject: [PATCH] Menu-FN: Respect gameinfo_chatroom if it was set from a manifest override. --- src/menu-fn/m_customgame.qc | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/menu-fn/m_customgame.qc b/src/menu-fn/m_customgame.qc index b3f9b325..999f6ed6 100644 --- a/src/menu-fn/m_customgame.qc +++ b/src/menu-fn/m_customgame.qc @@ -830,7 +830,12 @@ games_init(void) games[id].hlversion = "1000"; games[id].svonly = 0; games[id].installed = 1; - games[id].chatroom = gamedirname; + games[id].chatroom = cvar_string("gameinfo_chatroom"); + + if not (games[id].chatroom) { + games[id].chatroom = gamedirname; + } + games[id].readme = "readme.txt"; games[id].pkgid = -1; games[id].steambg = 0;