ServerPack: card actions add no separator of their own

Hookless servers render exactly as before: call _cardActions?.Invoke() after RenderVerdict and let the existing separator close the block. Test now pins the RenderBody separator count and restores the trailing CRLF.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Daniel Wallace 2026-11-07 14:34:27 -08:00
commit 5c6af0bbe5
2 changed files with 9 additions and 4 deletions

View file

@ -85,7 +85,7 @@ internal sealed class ServerPackUi
{
ServerPackInfo info = _model.Info;
RenderVerdict(info);
if (_cardActions != null) { ImGui.Separator(); _cardActions(); }
_cardActions?.Invoke();
ImGui.Separator();
RenderFacts(info);
if (info.Commands.Length > 0)