empiricaly / meteor-empirica-core

Core Meteor package for the experiment Empirica platform. This is where you should submit issues.
MIT License
27 stars 13 forks source link

fix: send queued players to exit when batch is cancelled #233 #235

Closed hubertusputu1 closed 3 years ago

hubertusputu1 commented 3 years ago

make queued players on gameLobbies go to exit if batch is cancelled

Description

Motivation and Context

233

How Has This Been Tested?

Create a game and player stay on the intro pages, cancelled the batch from the admin. players go to exit page.

Screenshots (if appropriate):

Types of changes

Checklist:

hubertusputu1 commented 3 years ago

@npaton i wonder if should we move the players into the available batch (if there is any) before we kicked them out?

hubertusputu1 commented 3 years ago

@npaton Sorry, i put fixes on the last commit. Before it is fixed, when the batch is cancelled the players won't go to exit page if they are already on a round state.