Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

current_scene() in init patch returns previous scene number #19

Open
noedigcode opened this issue Jun 30, 2016 · 0 comments
Open

current_scene() in init patch returns previous scene number #19

noedigcode opened this issue Jun 30, 2016 · 0 comments

Comments

@noedigcode
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant