Skip to content

Commit

Permalink
fix crash
Browse files Browse the repository at this point in the history
  • Loading branch information
MikiraSora committed Jan 15, 2025
1 parent 6699a25 commit 6dde8e3
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,8 @@ void CheckIfSoflanChanged2(double totalTGrid, bool isVailed)
if (diff < 0)
{
var xGrid = start.CalulateXGrid(checkTGrid);
PostPoint(checkTGrid, xGrid, isVailed);
if (xGrid is not null)
PostPoint(checkTGrid, xGrid, isVailed);
}

affectedSoflanPoints.RemoveAt(affectedSoflanPoints.Count - 1);
Expand Down

0 comments on commit 6dde8e3

Please sign in to comment.