Forums › 💬 NodeCanvas › ⚙️ Support › TaskTools.cs Compare bug
I’ve found a bug. I had a condition in a conditionlist which was comparing a global blackboard int to a static int. The test was always returning false though. I tracked it down to the following code in TaskTools.cs.
Before:
I modified the code to this which fixed the problem
Oops – messed up the formatting there sorry – hopefully you can still follow my point.
Hey, Yep there is a bug. It’s been fixed in the new submitted version 1.5.8 soon to go live 🙂
Here is a shorter fix:
Cheers