Skip to content

Commit

Permalink
Fixed missing index in Love a Duck.
Browse files Browse the repository at this point in the history
  • Loading branch information
joeraz committed Feb 16, 2024
1 parent cba1fd8 commit 9559173
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pysollib/games/interlock.py
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ def _getClosestStack(self, cx, cy, stacks, dragstack):

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)):
Expand Down

0 comments on commit 9559173

Please sign in to comment.