Closed alk0 closed 3 years ago
Currently, the jump
needs a previous label
as "root" to draw the arrow, and the "return" breaks it.
The feature causing this segfault was made to act like a BREAK tag (avoiding implicit jumps after a return
keyword).
I didn't care about fixing it since it is not a desired Ren'Py behaviour: that's not a priority.
I get that this can be annoying, so I'll fix it. Thanks for noticing!
This is fixed now, you can test if you want, but that's included in my test suite :)
I hope you'll like my changes, and please star the repo if you do! That would be nice because I work on this during my spare time, and it helps me stay motivated, I hope you'll understand. Have a good week-end.
The logic in the example is faulty, but it doesn't break RenPy, so it shouldn't break renpy-graphviz either. A
call
or a duplicatereturn
or""
afterreturn
don't crash the tool, so, without digging deep into the source I can't figure out whyjump
does.