mirror of
https://github.com/shlomif/PySolFC.git
synced 2025-04-15 02:54:09 -04:00
Fixed missing index in Love a Duck.
This commit is contained in:
parent
cba1fd815f
commit
9559173797
1 changed files with 1 additions and 1 deletions
|
@ -165,7 +165,7 @@ class Interlock(Game):
|
||||||
|
|
||||||
class LoveADuck_RowStack(Interlock_StackMethods, Yukon_AC_RowStack):
|
class LoveADuck_RowStack(Interlock_StackMethods, Yukon_AC_RowStack):
|
||||||
def acceptsCards(self, from_stack, cards):
|
def acceptsCards(self, from_stack, cards):
|
||||||
if len(self.cards) == 0 and self.id > self.STEP[0] - 1:
|
if len(self.cards) == 0 and self.id > self.STEP[0][0] - 1:
|
||||||
return False
|
return False
|
||||||
if (self.isDropdownMove(from_stack) and
|
if (self.isDropdownMove(from_stack) and
|
||||||
len(cards) == len(from_stack.cards)):
|
len(cards) == len(from_stack.cards)):
|
||||||
|
|
Loading…
Add table
Reference in a new issue