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:
parent
7ed32f2c7d
commit
2b487baea0
1 changed files with 3 additions and 1 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue