Fix client-side replay error (#27332)

This commit is contained in:
Leon Friedrich
2024-04-26 19:30:03 +12:00
committed by GitHub
parent 735eeefa03
commit 0ae942101a
3 changed files with 10 additions and 3 deletions

View File

@@ -97,7 +97,8 @@ public sealed partial class AlertsUI : UIWidget
}
else
{
if (existingAlertControl != null) AlertContainer.Children.Remove(existingAlertControl);
if (existingAlertControl != null)
AlertContainer.Children.Remove(existingAlertControl);
// this is a new alert + alert key or just a different alert with the same
// key, create the control and add it in the appropriate order