Skip to content

Commit

Permalink
[Upstream] 248275e - Fix: typo error (#153)
Browse files Browse the repository at this point in the history
  • Loading branch information
ikpil committed Nov 28, 2023
1 parent ea50e16 commit 9c6ddff
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,7 @@ public DtNavMesh[] Load(FileStream zipFile)
int nodeCount = graphMeshData.CountNodes();
if (connections.Count != nodeCount)
{
throw new ArgumentException("Inconsistent number of nodes in data file: " + nodeCount
+ " and connecton files: " + connections.Count);
throw new ArgumentException($"Inconsistent number of nodes in data file: {nodeCount} and connection files: {connections.Count}");
}

// Build BV tree
Expand Down

0 comments on commit 9c6ddff

Please sign in to comment.