From 782d752c3ed0a726d74a32a3a1f2f95cc6026b54 Mon Sep 17 00:00:00 2001 From: Stefano Pigozzi Date: Fri, 19 Apr 2024 01:49:22 +0200 Subject: [PATCH] Remove debug logging from `SamplerPriority` --- behaviours/sampler_priority.gd | 2 -- 1 file changed, 2 deletions(-) diff --git a/behaviours/sampler_priority.gd b/behaviours/sampler_priority.gd index e3bf47c..c925afb 100644 --- a/behaviours/sampler_priority.gd +++ b/behaviours/sampler_priority.gd @@ -13,14 +13,12 @@ func sample() -> Priority: # FIXME: Change this to something more efficient when needed var highest_possibility: Priority = null for possibility in possibilities: - Log.p(self, "Possibility: %s (%d)" % [possibility, possibility.priority]) if highest_possibility == null or possibility.priority > highest_possibility.priority: highest_possibility = possibility if highest_possibility == null: return null - Log.p(self, "Sampled: %s (%d)" % [highest_possibility, highest_possibility.priority]) return highest_possibility.get_ref() func get_all_refs() -> Array[Node]: