From f968a2c9e4870ca86123c9bb1d5bfe583897e3ad Mon Sep 17 00:00:00 2001 From: Joe R Date: Sat, 16 Jul 2022 22:57:07 -0400 Subject: [PATCH] Fixed error in Hit or Miss game. --- html-src/rules/hitormiss.html | 4 ---- pysollib/games/hitormiss.py | 5 +---- 2 files changed, 1 insertion(+), 8 deletions(-) diff --git a/html-src/rules/hitormiss.html b/html-src/rules/hitormiss.html index e81b6b7c..3c76b32f 100644 --- a/html-src/rules/hitormiss.html +++ b/html-src/rules/hitormiss.html @@ -13,7 +13,3 @@ matches the rank you declared, that is a "Hit", and the card may be moved to the foundation. Otherwise, it is a "Miss". You can continue to redeal as many times as you need, until you go through the entire deck twice in a row without getting a single "Hit". - -

Notes

-

-Autodrop is disabled for this game. diff --git a/pysollib/games/hitormiss.py b/pysollib/games/hitormiss.py index 4b6fb41d..a147da39 100644 --- a/pysollib/games/hitormiss.py +++ b/pysollib/games/hitormiss.py @@ -83,7 +83,7 @@ class HitOrMiss_Waste(WasteStack): game.deadDeals = 0 game.saveStateMove(1 | 16) # for redo game.leaveState(old_state) - WasteStack.moveMove(ncards, to_stack, frames, shadow) + WasteStack.moveMove(self, ncards, to_stack, frames, shadow) game.s.talon.dealCards() @@ -154,9 +154,6 @@ class HitOrMiss(Game): # save vars (for undo/redo) return [self.rank, self.deadDeals] - def getAutoStacks(self, event=None): - return ((), (), ()) - # register the game registerGame(GameInfo(774, HitOrMiss, "Hit or Miss",