Menu-FN: Respect gameinfo_chatroom if it was set from a manifest override.

This commit is contained in:
Marco Cawthorne 2022-12-30 12:09:23 -08:00
parent 7fe51a3fa5
commit 1bd9a5ea01
Signed by: eukara
GPG key ID: CE2032F0A2882A22

View file

@ -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;