After triggering a chain of functions that does literally nothing, the one function that does an actual thing quits giving the right result.
Attach a Capx
Description of Capx
A function "ZÃ©ro" changes its return value twice: first to 100, then under a specific condition to 0. the final result is displayed onscreen.
When pressing Space, a function "Wreck" is called, it then calls another function which does nothing.
The condition to change ZÃ©ro()'s result 0 should always be right and thus, the function ZÃ©ro() should always return 0
Steps to Reproduce Bug
After running the project, simply press Space to call Wreck().
-> The result of ZÃ©ro() changes to 100, and remains this way.
- The event 2 needs to be comparing Function.ReturnValue in order for the bug to happen.
- The function called by Wreck() doesn't need to exist, but there need to be at least two chained calls.
- Chrome: (YES)
- FireFox: (YES)
- Edge: (YES)
Operating System and Service Pack
Construct 2 Version ID