diff --git a/src/HexManiac.Core/Models/HardcodeTablesModel.cs b/src/HexManiac.Core/Models/HardcodeTablesModel.cs index b10137c5..2aa1ceb4 100644 --- a/src/HexManiac.Core/Models/HardcodeTablesModel.cs +++ b/src/HexManiac.Core/Models/HardcodeTablesModel.cs @@ -130,7 +130,7 @@ namespace HavenSoft.HexManiac.Core.Models { [Conditional("DEBUG")] private void CheckForEmptyAnchors(int destination, string anchor) { var run = GetNextRun(destination); - Debug.Assert(run.PointerSources.Count > 0, $"{anchor} refers to {destination:X6}, but has no pointers. So how did we find it?"); + Debug.Assert(run.PointerSources == null || run.PointerSources.Count > 0, $"{anchor} refers to {destination:X6}, but has no pointers. So how did we find it?"); } private void DecodeHeader() {