[Upstream] 248275e - Fix: typo error (#153)

- 248275e07f
This commit is contained in:
ikpil 2023-11-29 00:03:06 +09:00 committed by Ikpil
parent ea50e16a80
commit 9c6ddfffe0
1 changed files with 1 additions and 2 deletions

View File

@ -48,8 +48,7 @@ namespace DotRecast.Detour.Extras.Unity.Astar
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