1
0
Fork 0
mirror of https://github.com/shlomif/PySolFC.git synced 2025-04-05 00:02:29 -04:00

Fixed missing index in Love a Duck.

This commit is contained in:
Joe R 2024-02-15 22:34:51 -05:00
parent cba1fd815f
commit 9559173797

View file

@ -165,7 +165,7 @@ class Interlock(Game):
class LoveADuck_RowStack(Interlock_StackMethods, Yukon_AC_RowStack):
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
if (self.isDropdownMove(from_stack) and
len(cards) == len(from_stack.cards)):