Skip to content

Commit

Permalink
Rich Presence: show mapname if levelname is empty
Browse files Browse the repository at this point in the history
  • Loading branch information
Prokopiy19 committed Dec 1, 2024
1 parent f4ae39d commit 34f3a1b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Quake/host.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
{
Expand Down

0 comments on commit 34f3a1b

Please sign in to comment.