You probably already know that we’re using flow scripts extremely heavy in our game, Graveyard Keeper.
And recently got a very strange behaviour in folded functions. Seems that the “return” block doesn’t behave properly. Maybe it is happening when the folded function has different types of returing values or so. I couldn’t have a chance to spend time for a clean reproducion project right now, but maybe you already know that problem or could have something from this report.
If not, I will try to find some time reproducing the bug.
Developer at Lazy Bear Games