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

Third Level Inherited States Execute Their Inherited Parent's Events Twice #35

Open
GentooGames opened this issue Jan 24, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@GentooGames
Copy link

GentooGames commented Jan 24, 2023

Standard state inheritance seems to be working just fine; however, if I extend that inheritance and inherit from a state that is already inheriting from another parent state (third level), then the parent's event code executes twice. This only happens if the child state does not explicitly/manually implement said event, and allows it to be implemented implicitly. If that event is explicitly/manually implemented, then the parent's code does not run twice and everything works as expected.

Screen_Shot_2023-01-18_at_9 08 29_AM

@sohomsahaun sohomsahaun added the bug Something isn't working label Jan 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants