Closed dawnwages closed 2 years ago
Thanks for checking this out for me @npaton
I see, indeed, this is a problem 😅 Thank you for the report. We will look into this, hopefully pushing a fix soon.
@dawnwages This should be fixed, let us know otherwise ⛵
Expected Behavior
When a player exits early with
player.exit("playerQuit")
, the user is brought to the exit steps. The other players will be able to continue the game without having to wait for the exited player. This will have a cascade of affects like removing the player from chat, ignoring player confirmation onWait
component /longTermEngagement
Treatment handled outside of core on client in order to continue with expected game play.Current Behavior
When a player exits early with
player.exit("playerQuit")
, the user is brought to the exit steps, while game continues to wait for a response for the exited player.Possible Solution
Setting an
inactive
orexited
as aDate
field on the exitedgame.player
object for client-side game to build features that address exited player, and update core so game only waits forplayer.stage.submit()
on active players (players that do not have a value forinactive
orexited
), similar to the way stage submitted is handled.Steps to Reproduce (for bugs)
https://github.com/Watts-Lab/multi-task-empirica/
treatment set
exitEarly
totrue
which enables a button forplayer
to exit inTask
component