From: Mervill Date: Tue, 30 Jul 2024 00:57:46 +0000 (-0700) Subject: Objects that only have a basic description won't have extra line in examine text... X-Git-Url: https://git.smokeofanarchy.ru/gitweb.cgi?a=commitdiff_plain;h=83a56cc74afb57970cea480efc43ac1a9621a5a8;p=space-station-14.git Objects that only have a basic description won't have extra line in examine text (#30472) objects that only have a basic description won't have extra line in examine text --- diff --git a/Content.Shared/Examine/ExamineSystemShared.cs b/Content.Shared/Examine/ExamineSystemShared.cs index 682018949a..f0406c5398 100644 --- a/Content.Shared/Examine/ExamineSystemShared.cs +++ b/Content.Shared/Examine/ExamineSystemShared.cs @@ -352,7 +352,7 @@ namespace Content.Shared.Examine var totalMessage = new FormattedMessage(Message); parts.Sort(Comparison); - if (_hasDescription) + if (_hasDescription && parts.Count > 0) { totalMessage.PushNewline(); }