From 43ceb208ef4302785fef40dc36191d67fdeed182 Mon Sep 17 00:00:00 2001 From: Joonas Rikkonen Date: Wed, 10 Jan 2018 16:35:41 +0200 Subject: [PATCH] Fixed round summary displaying the name of the starting location even if the player has reached the destination --- Barotrauma/BarotraumaClient/Source/GameSession/RoundSummary.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Barotrauma/BarotraumaClient/Source/GameSession/RoundSummary.cs b/Barotrauma/BarotraumaClient/Source/GameSession/RoundSummary.cs index 7fbca38ac..bf0d37f18 100644 --- a/Barotrauma/BarotraumaClient/Source/GameSession/RoundSummary.cs +++ b/Barotrauma/BarotraumaClient/Source/GameSession/RoundSummary.cs @@ -48,7 +48,7 @@ namespace Barotrauma summaryText = summaryText .Replace("[sub]", Submarine.MainSub.Name) - .Replace("[location]", GameMain.GameSession.StartLocation.Name); + .Replace("[location]", progress ? GameMain.GameSession.EndLocation.Name : GameMain.GameSession.StartLocation.Name); var infoText = new GUITextBlock(new Rectangle(0, y, 0, 50), summaryText, "", innerFrame, true); y += infoText.Rect.Height;