diff options
Diffstat (limited to 'lib/colonial_twilight/cards.rb')
-rw-r--r-- | lib/colonial_twilight/cards.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/colonial_twilight/cards.rb b/lib/colonial_twilight/cards.rb index 0f98dc4..4ffcff5 100644 --- a/lib/colonial_twilight/cards.rb +++ b/lib/colonial_twilight/cards.rb @@ -49,10 +49,11 @@ module ColonialTwilight attr_reader :cards def initialize @cards = {} + add_card 0, 'None', nil, nil add_card 1, 'Quadrillage', 0, CardAction.new('Place up to all French Police in Available in up to 3 spaces', {:what=>:french_police,:from=>:available}) end - def pull n; @cards[n] end + def pull n; @cards[n > 0 ? 1 : 0] end # FIXME private |