mirror of
https://github.com/shlomif/PySolFC.git
synced 2025-04-05 00:02:29 -04:00
Fix a crash in shisensho.
See https://github.com/shlomif/PySolFC/issues/54 . Thanks to @lufebe16 for the report and the fix.
This commit is contained in:
parent
9ad8650dd3
commit
ca48ec221d
1 changed files with 1 additions and 1 deletions
|
@ -349,7 +349,7 @@ class AbstractShisenGame(AbstractMahjonggGame):
|
|||
self.cols = [[] for i in range(cols)]
|
||||
cl = range(cols)
|
||||
if dx > 0:
|
||||
cl.reverse()
|
||||
cl = reversed(cl)
|
||||
for col in cl:
|
||||
for row in range(rows):
|
||||
x = l.XM + dxx + col * cardw
|
||||
|
|
Loading…
Add table
Reference in a new issue