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

Fix for single card redeal causing a stuck trigger in Matrimony.

This commit is contained in:
Joe R 2022-08-13 18:04:20 -04:00
parent 32daef2b02
commit 0f26fa283c

View file

@ -544,6 +544,11 @@ class Matrimony(Game):
self.s.foundations[7]], frames=0) self.s.foundations[7]], frames=0)
self._startAndDealRow() self._startAndDealRow()
def getSnapshotHash(self):
# Takes the round into account - a single card redeal can result
# in an identical snapshot.
return Game.getSnapshotHash(self) + str(self.s.talon.round)
# ************************************************************************ # ************************************************************************
# * Picture Patience # * Picture Patience