From 7a3476b9f7ed456aca9416c7a261688cbafda437 Mon Sep 17 00:00:00 2001 From: Anuken Date: Thu, 16 Nov 2023 09:58:01 -0500 Subject: [PATCH] Debug property --- core/src/mindustry/ai/HierarchyPathFinder.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/mindustry/ai/HierarchyPathFinder.java b/core/src/mindustry/ai/HierarchyPathFinder.java index c68f031086..b77badf5e0 100644 --- a/core/src/mindustry/ai/HierarchyPathFinder.java +++ b/core/src/mindustry/ai/HierarchyPathFinder.java @@ -29,7 +29,7 @@ public class HierarchyPathFinder implements Runnable{ static final int clusterSize = 12; - static final boolean debug = true; + static final boolean debug = OS.hasProp("mindustry.debug"); static final int[] offsets = { 1, 0, //right: bottom to top