Skip to content

Commit

Permalink
fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
naueramant committed Jul 28, 2024
1 parent 0f1f4c8 commit 35b97a4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/Terminal/commands.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ export const customCommands: Command[] = [
switch (args[0]) {
case "draw":
try {
const card = useGame.getState().DrawCard();
const [card, _] = useGame.getState().DrawCard();
buffer.write(`You drew ${card.value} of ${getCardSuitName(card)}!`);
} catch (error) {
buffer.write(`Error: ${error}`);
Expand Down

0 comments on commit 35b97a4

Please sign in to comment.