-
Notifications
You must be signed in to change notification settings - Fork 8
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
In-Game: Inherited functions are not overridden if called from an inherited event in 2024.1100 runtimes #8434
Comments
apparently I wasn't on the latest beta. Updating to the new runtime did not fix the issue though |
Got the same issue. In my case I have an empty state declared in the parent object that is being overwritten in the child. When the child performs a call to a new function, it actually invokes empty function from the parent. I have to mention, that empty function is assigned at the parent, not in the child.
Child:
I solved my issue by explicitly assigning state in the child:
I'm using IDE 2024.6.2.162 with Runtime 2024.6.1.208 |
Fixed in 2024.11 - not sure what the issue is in the above comment but the bug here was only present in the 2024.11 Beta |
@rwkay will this fix be implemented for the HTML5 target as well? Thank you. |
Reopening to get the fix added for HTML5 |
Fixed in 2024.11 |
Verified fixed in IDE v2024.1100.0.699 Runtime v2024.1100.0.717. |
Description
This is a really freaky bug.
basically, calling a function in an inherited event will call the function that was originally created in the inherited event. Idk how to explain it better
https://api.gamemaker.io/api/github/downloads/893e65d2-7206-4da9-91fb-942f025038ae
here's a small test project
Override test.zip
Expected Change
No response
Steps To Reproduce
How reliably can you recreate this issue using your steps above?
Always
Which version of GameMaker are you reporting this issue for?
2024.1100 (Betas)
Which platform(s) are you seeing the problem on?
Ubuntu
Sample Package Attached?
Sample Project Added?
The text was updated successfully, but these errors were encountered: