Fix blank newline on empty examine groups (#33813)
Construction always grants a blank newline even if it not currently constructing.
This commit is contained in:
@@ -409,8 +409,10 @@ namespace Content.Shared.Examine
|
||||
private void PopGroup()
|
||||
{
|
||||
DebugTools.Assert(_currentGroupPart != null);
|
||||
if (_currentGroupPart != null)
|
||||
if (_currentGroupPart != null && !_currentGroupPart.Message.IsEmpty)
|
||||
{
|
||||
Parts.Add(_currentGroupPart);
|
||||
}
|
||||
|
||||
_currentGroupPart = null;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user