From 3ea48dfc4a60758544bdae4861b5664fe270aa1c Mon Sep 17 00:00:00 2001 From: Christopher Latza Date: Fri, 19 Jun 2020 02:15:37 +0200 Subject: [PATCH] fix typo at debug image --- src/BasicPathFinding.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/BasicPathFinding.cs b/src/BasicPathFinding.cs index 4ac600e..563ebda 100644 --- a/src/BasicPathFinding.cs +++ b/src/BasicPathFinding.cs @@ -213,7 +213,7 @@ namespace OpenSim.Modules.PathFinding if (!thisNode.Walkable) _bitmap.SetPixel(thisNode.PositionX, thisNode.PositionY, Color.Black); - if (!thisNode.Target) + if (thisNode.Target) _bitmap.SetPixel(thisNode.PositionX, thisNode.PositionY, Color.Blue); }