diff --git a/Barotrauma/BarotraumaClient/Source/GameSession/RoundSummary.cs b/Barotrauma/BarotraumaClient/Source/GameSession/RoundSummary.cs index 470e36492..256b5d0fa 100644 --- a/Barotrauma/BarotraumaClient/Source/GameSession/RoundSummary.cs +++ b/Barotrauma/BarotraumaClient/Source/GameSession/RoundSummary.cs @@ -41,14 +41,14 @@ namespace Barotrauma string summaryText = TextManager.Get(gameOver ? "RoundSummaryGameOver" : (progress ? "RoundSummaryProgress" : "RoundSummaryReturn")); - summaryText.Replace("[sub]", Submarine.MainSub.Name); - summaryText.Replace("[location]", GameMain.GameSession.StartLocation.Name); + summaryText = summaryText + .Replace("[sub]", Submarine.MainSub.Name) + .Replace("[location]", GameMain.GameSession.StartLocation.Name); var infoText = new GUITextBlock(new Rectangle(0, y, 0, 50), summaryText, "", innerFrame, true); y += infoText.Rect.Height; } - if (!string.IsNullOrWhiteSpace(endMessage)) { var endText = new GUITextBlock(new Rectangle(0, y, 0, 30), endMessage, "", innerFrame, true);