Adjust method call for the team hand updating
This commit is contained in:
parent
1a810185ca
commit
19f02c60b2
2 changed files with 3 additions and 3 deletions
|
|
@ -27,7 +27,7 @@ export default (io: Server, socket: Socket, data: NewHand) => {
|
|||
};
|
||||
|
||||
// Add the questions and then alert the game clients about the changes
|
||||
team.addQuestions(deck.draw(conf.game.hand_size));
|
||||
team.addCardsToHand(deck.draw(conf.game.hand_size));
|
||||
log.silly(`[${game.id}] Drew a new hand of cards for team ${data.team}.`);
|
||||
io.to(game.id).emit(`UpdateHand`, {
|
||||
mode: `replace`,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue