Closed yankai-wang closed 5 months ago
In Empirica.onStageStart, I reset the submission status of each player with the following codes:
Empirica.onStageStart
players.forEach((player) => { player.set("satisfied", false); });
But since 1.8.12, it's not working.
In the admin page, create a new game with treatments "full_decom_add_growFromIndiv".
Finish the first round, then add another player to start the second round.
In the second round, the old player's submission status would be true, though it should be false (indicated by the check/cross mark on the avatar).
In server's console, outputs are:
[server] before reset satisfied true [server] reset satisfied true [server] before reset satisfied true [server] reset satisfied false
but satisfied should always be false after resetting.
1.8.12 No problem observed in 1.8.11 and versions before.
macOS
Chrome
No response
Released in 1.9.7
Is there an existing issue for this?
What happened?
In
Empirica.onStageStart
, I reset the submission status of each player with the following codes:But since 1.8.12, it's not working.
Steps To Reproduce
In the admin page, create a new game with treatments "full_decom_add_growFromIndiv".
Finish the first round, then add another player to start the second round.
In the second round, the old player's submission status would be true, though it should be false (indicated by the check/cross mark on the avatar).
In server's console, outputs are:
but satisfied should always be false after resetting.
Empirica Version
What OS are you seeing the problem on?
macOS
What browser are you seeing the problem on?
Chrome
Relevant log output
No response
Anything else?
No response
Code of Conduct