support icon indicating copy to clipboard operation
support copied to clipboard

[Bug] Importing External Task automatically runs

Open TakeControlSolutions opened this issue 4 months ago • 1 comments

When in Blocks, if you import an external task under the setup block it will automatically run that task and end the program. This will happen even if the task is not called under the Program block. Oddly enough, even if no hub or motors are defined in the program, it will seem to inherit the definitions from the imported task's program.

Additionally, if multiple import blocks are defined it will only run the first defined import block.

I discovered this while trying to make an alternative menu system that is compatible with block code. This bug makes that not possible.

TakeControlSolutions avatar Sep 13 '25 19:09 TakeControlSolutions