0
0
Fork 0

Use the askSpirit method

This commit is contained in:
Oliver-Akins 2021-02-28 19:39:13 -07:00
parent 73fb548707
commit a7d718333d

View file

@ -50,7 +50,7 @@ export default (io: Server, socket: Socket, data: SendCard) => {
game.log.debug(`Guesser is sending a card to the writer`); game.log.debug(`Guesser is sending a card to the writer`);
// Update the team's hand // Update the team's hand
team.removeCard(data.text); team.askSpirit(data.text);
// send the question text to the writer player // send the question text to the writer player
io.to(`${game.id}:${team.id}:writer`).emit(`UpdateHand`, { io.to(`${game.id}:${team.id}:writer`).emit(`UpdateHand`, {