summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWolfgang Rohdewald <wolfgang@rohdewald.de>2015-11-23 12:17:23 (GMT)
committerWolfgang Rohdewald <wolfgang@rohdewald.de>2016-08-06 07:40:05 (GMT)
commit0a40795f5b7b44590fe492fcfeac50edcc269097 (patch)
treeb09117eea300b3cba696fe4bc9c03b80eba3123b
parent2b4f513371492414294243a22f5df7016fcb704b (diff)
Meld.isKong must be False for four hidden tiles, as the docstring already said
-rw-r--r--src/meld.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/meld.py b/src/meld.py
index 269f212..04b7433 100644
--- a/src/meld.py
+++ b/src/meld.py
@@ -273,7 +273,7 @@ class Meld(TileList):
if len(tiles) == 1:
if length == 3:
self.isPung = True
- else:
+ elif self.case != 'AAAA':
self.isKong = True
return
if len(tiles) == 3 and length == 3: