func (mr *MatchRouting) removePlayersFromStaging(selectedPlayers []string) {
	for _, playerID := range selectedPlayers {
		playerRegistrationEpoch := mr.PlayerStagingRegister[playerID]
		mr.PlayerStagingTree.Clear(helper.Int64Key(playerRegistrationEpoch))
		delete(mr.PlayerStagingRegister, playerID)
		delete(mr.PlayerConnection, playerID)
	}
}
// delete those selectedPlayers from the waiting area.
delete those selectedPlayers from the waiting area.
// delete those selectedPlayers from the waiting area .
func (mr *MatchRouting) removePlayersFromStaging(selectedPlayers []string) {
	for _, playerID := range selectedPlayers {
		playerRegistrationEpoch := mr.PlayerStagingRegister[playerID]
		mr.PlayerStagingTree.Clear(helper.Int64Key(playerRegistrationEpoch))
		delete(mr.PlayerStagingRegister, playerID)
		delete(mr.PlayerConnection, playerID)
	}
}
func ( mr * MatchRouting ) removePlayersFromStaging ( selectedPlayers [ ] string ) { for _ , playerID := range selectedPlayers { playerRegistrationEpoch := mr . PlayerStagingRegister [ playerID ] mr . PlayerStagingTree . Clear ( helper . Int64Key ( playerRegistrationEpoch ) ) delete ( mr . PlayerStagingRegister , playerID ) delete ( mr . PlayerConnection , playerID ) } }
delete those selectedPlayers from the waiting area.
delete those selectedPlayers from the waiting area .