From cf2e43b63c35b93d704ef0f44701263d1aac51fd Mon Sep 17 00:00:00 2001 From: Prokopiy19 Date: Sun, 1 Dec 2024 23:06:58 +0300 Subject: [PATCH] Rich Presence: show mapname if levelname is empty (#365) --- Quake/host.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Quake/host.c b/Quake/host.c index 7f50a6c8f..13176c323 100644 --- a/Quake/host.c +++ b/Quake/host.c @@ -1078,9 +1078,9 @@ static void UpdateWindowTitle (void) VID_SetWindowTitle (title); if (current.stats.max_players > 1) - Steam_SetStatus_Multiplayer (current.stats.players, current.stats.max_players, utf8name); + Steam_SetStatus_Multiplayer (current.stats.players, current.stats.max_players, utf8name[0] ? utf8name : current.map); else - Steam_SetStatus_SinglePlayer (utf8name); + Steam_SetStatus_SinglePlayer (utf8name[0] ? utf8name : current.map); } else {