Problem Description
This may be related to Lunatrap's bug, but I didn't want to hijack that thread.
I've got a function being called twice in a row. In r165, SwitchPlayer() is called once. In r166, SwitchPlayer() is called twice in a row, by itself.
Description of Capx
This is my multi-player Tic-Tac-Toe game (again). I've had to strip out my third-part plugins, but was able to add a button that shows the same problem.
Steps to Reproduce Bug
- Start on Layout Login
- Press OK
- Duplicate the browser tab to get a second instance running.
- Press OK
- Press the "Press Me To Test" button on one of the instances.
Observed Result
In r165 you'll see:
fnc BEFORE SwitchPlayer() Browser_plugin.js:559
SwitchPlayer()-IN Browser_plugin.js:559
SwitchPlayer()-OUT Browser_plugin.js:559
fnc AFTER SwitchPlayer() Browser_plugin.js:559
In r166 you'll see:
fnc BEFORE SwitchPlayer() Browser_plugin.js:559
SwitchPlayer()-IN Browser_plugin.js:559
SwitchPlayer()-OUT Browser_plugin.js:559
SwitchPlayer()-IN Browser_plugin.js:559
SwitchPlayer()-OUT Browser_plugin.js:559
fnc AFTER SwitchPlayer() Browser_plugin.js:559
Expected Result
Same behaviour as r165...
Affected Browsers
- Chrome: (YES)
- FireFox: (YES)
- Internet Explorer: (N/A)
Operating System and Service Pack
Win 7 SP1
Construct 2 Version ID
166