Problem Description
There is a problem with passing function parameters recursively with arithmetic. I suspect it is a type problem but it isn't solved using int() or str().
Attach a Capx
https://1drv.ms/u/s!AjosfNFG8jCjmOQsrzbXcG6GDcnkfA
Description of Capx
The capx has a simple function that shows the it's param value on a text, waits, and then recurses adding 1 to it's param. It doesn't work. It should show 0, 1, 2, 3... instead it shoes 0, 1, 1, 1, 1
There is another version that stores it's param value as a global and then passes the global instead of the param directly. That one works fine.
Steps to Reproduce Bug
- The functions run automatically at start.
Observed Result
It should show 0, 1, 2, 3...
Expected Result
instead it shoes 0, 1, 1, 1, 1...
Affected Browsers
- Chrome: ?
- FireFox: YES
- Internet Explorer: YES
- Edge: YES
Operating System and Service Pack
Windows 10
Construct 2 Version ID
233