dsacre/mididings

current_scene() in init patch returns previous scene number

Opened this issue · 0 comments

When using current_scene() in an init patch, the returned scene number is still the previous scene.
Example:
Scene y's init patch is Process(myFunc), and in myFunc I call current_scene().
When switching from scene x to scene y, current_scene() within scene y's init patch (i.e. within the myFunc call) returns x and not y.