Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
kphoenix137 committed Oct 7, 2023
1 parent 18b2a1e commit 2e50b88
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Source/automap.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -730,7 +730,7 @@ void DrawAutomapText(const Surface &out)
{
Point linePosition { 8, 8 };

if (gbIsMultiplayer) {
if (gbIsMultiplayer && !StreamerMode) {
if (GameName != "0.0.0.0" && !IsLoopback && !StreamerMode) {
std::string description = std::string(_("Game: "));
description.append(GameName);
Expand All @@ -741,10 +741,10 @@ void DrawAutomapText(const Surface &out)
std::string description;
if (IsLoopback) {
description = std::string(_("Offline Game"));
} else if (!PublicGame && !StreamerMode) {
} else if (!PublicGame) {
description = std::string(_("Password: "));
description.append(GamePassword);
} else if (!StreamerMode) {
} else {
description = std::string(_("Public Game"));
}
DrawString(out, description, linePosition);
Expand Down

0 comments on commit 2e50b88

Please sign in to comment.