diff --git a/pysollib/games/acesup.py b/pysollib/games/acesup.py index 6941ad4ab..0fb675b6a 100644 --- a/pysollib/games/acesup.py +++ b/pysollib/games/acesup.py @@ -176,8 +176,8 @@ def acceptsCards(self, from_stack, cards): class JokerBombs_RowStack(AcesUp_RowStack): def moveMove(self, ncards, to_stack, frames=-1, shadow=-1): if self.cards[-1].suit == 4: - s = BasicRowStack.moveMove(self, ncards, to_stack, frames=frames, - shadow=shadow) + BasicRowStack.moveMove(self, ncards, to_stack, frames=frames, + shadow=shadow) old_state = self.game.enterState(self.game.S_FILL) self.game.saveStateMove(2 | 16) # for undo @@ -191,11 +191,9 @@ def moveMove(self, ncards, to_stack, frames=-1, shadow=-1): self.game.saveStateMove(1 | 16) # for redo self.game.leaveState(old_state) - - return s else: - return BasicRowStack.moveMove(self, ncards, to_stack, - frames=frames, shadow=shadow) + BasicRowStack.moveMove(self, ncards, to_stack, + frames=frames, shadow=shadow) class JokerBombs(AcesUp):