summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWolfgang Rohdewald <wolfgang@rohdewald.de>2015-11-24 13:56:37 (GMT)
committerWolfgang Rohdewald <wolfgang@rohdewald.de>2016-08-24 11:47:08 (GMT)
commitd1f279fbe2c9295362f4a2c30771763937b74b56 (patch)
tree3629c3d688d35480bcf21ae55a323fa49a7d2c2f
parent00400d9efe6493d8ce8f507909304aa19cb1692b (diff)
Hand: __add__ produced wrong mjStr in presence of announcements
-rw-r--r--src/hand.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/hand.py b/src/hand.py
index f864272..09f3511 100644
--- a/src/hand.py
+++ b/src/hand.py
@@ -424,7 +424,7 @@ class Hand(object):
parts.append('R' + ''.join(str(x) for x in sorted(
self.tilesInHand + [addTile])))
if self.announcements:
- parts.append('m' + self.announcements)
+ parts.append('m.' + self.announcements)
parts.append('L' + addTile)
return Hand(self.player, ' '.join(parts).strip(), prevHand=self)