0
0
Fork 0

Fix bug about the message thread removals

This commit is contained in:
Oliver-Akins 2021-03-20 16:42:44 -06:00
parent 59f7ed309d
commit ec54f74de6

View file

@ -18,7 +18,8 @@ export default (io: Server, socket: Socket, data: RandomizeTeams) => {
// Remove all players from all teams
for (var team of game.teams) {
team.removePlayers();
team.guessers = [];
team.writer = null;
};
let players = [...game.players];