From fee0f866fe9db46a8abc58fa1a38f80a8467779b Mon Sep 17 00:00:00 2001
From: bruno-f-cruz <7049351+bruno-f-cruz@users.noreply.github.com>
Date: Mon, 13 Oct 2025 13:41:15 -0700
Subject: [PATCH] Fix bug with logic in patch-entry triggered logic
---
src/Extensions/PatchManagement.bonsai | 65 +++++----------------------
1 file changed, 10 insertions(+), 55 deletions(-)
diff --git a/src/Extensions/PatchManagement.bonsai b/src/Extensions/PatchManagement.bonsai
index 61b2aa1f..743b3d37 100644
--- a/src/Extensions/PatchManagement.bonsai
+++ b/src/Extensions/PatchManagement.bonsai
@@ -2792,58 +2792,23 @@
RewardFunction
- CurrentPosition
-
-
- Value.Z
-
-
-
- 1
-
-
-
- InitialPosition
-
-
- CurrentPosition
-
-
- Value.Z
-
-
- RefreshEnvironmentRate
-
-
-
-
-
+ ActivePatch
-
- PT0S
- PT1S
+
+ 1
-
-
-
- InitialPosition
+ RewardFunction
-
-
- toDouble
- double(it)
-
-
- RewardFunction
-
-
+
+ 1
+
@@ -2851,20 +2816,10 @@
-
-
+
+
+
-
-
-
-
-
-
-
-
-
-
-