diff --git a/core/src/mindustry/client/navigation/AssistPath.kt b/core/src/mindustry/client/navigation/AssistPath.kt index a01d0cd4cc..ee7f8b843f 100644 --- a/core/src/mindustry/client/navigation/AssistPath.kt +++ b/core/src/mindustry/client/navigation/AssistPath.kt @@ -137,7 +137,7 @@ class AssistPath(val assisting: Player?, val type: Type = Type.Regular, var circ assisting ?: return if (type != Type.FreeMove && player.dst(assisting) > aStarTolerance) waypoints.draw() - if (Spectate.pos != assisting) assisting.unit().drawBuildPlans() // Don't draw plans twice + if (Spectate.pos != assisting) assisting.unit()?.drawBuildPlans() // Don't draw plans twice } override fun progress(): Float {