void AddNotification(TextNotification notification, bool suppressSound)
        {
            var chatLine = templates[notification.Pool].Clone();

            WidgetUtils.SetupTextNotification(chatLine, notification, chatScrollPanel.Bounds.Width - chatScrollPanel.ScrollbarWidth, isMenuChat && !world.IsReplay);

            var scrolledToBottom = chatScrollPanel.ScrolledToBottom;

            chatScrollPanel.AddChild(chatLine);
            if (scrolledToBottom)
            {
                chatScrollPanel.ScrollToBottom(smooth: true);
            }

            if (!suppressSound)
            {
                Game.Sound.PlayNotification(modRules, null, "Sounds", chatLineSound, null);
            }
        }