I have a behavior tree:
Sometimes, when deploying flares, I get an error:
If I remove the Cooldown decorator, I no longer get that error.
I'm not sure why the bug happens. It seems to happen almost randomly at the Deploy Flares task.
The current code for the Deploy Flares task: