ymichael / everdell

🐿️ Play Everdell Online!
https://everdell.vercel.app/
MIT License
35 stars 11 forks source link

Using associated card should override lack of resources #12

Closed elynnlee closed 3 years ago

elynnlee commented 3 years ago

Describe the bug If you choose to use an associated card, we should ignore the resource selection box when playing a card

To Reproduce Steps to reproduce the behavior:

  1. Play a construction for which you also have the associated critter. Ensure you cannot afford critter without the associated card.
  2. When playing the card, check the box to use the associated card
  3. See error

Expected behavior We should ignore your lack of resources and let you play the card

Screenshots image

Browser / Device Info (if relevant):

Additional context Add any other context about the problem here.