Skip to content

Commit

Permalink
fix: debug window crash (#2363)
Browse files Browse the repository at this point in the history
  • Loading branch information
WeylonSantana authored Aug 1, 2024
1 parent 51ce86f commit 98d57d6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Intersect.Client/Interface/Debugging/DebugWindow.cs
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ private Table CreateTableDebugStats()
try
{
return Interface.CurrentInterface?.Children.ToArray().SelectManyRecursive(
x => [.. x.Children],
x => x != default ? [.. x.Children] : [],
cancellationToken
).ToArray().Length ?? 0;
}
Expand Down

0 comments on commit 98d57d6

Please sign in to comment.