Use the askSpirit method
This commit is contained in:
parent
73fb548707
commit
a7d718333d
1 changed files with 1 additions and 1 deletions
|
|
@ -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`, {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue