summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWolfgang Rohdewald <wolfgang@rohdewald.de>2015-11-18 04:33:09 (GMT)
committerWolfgang Rohdewald <wolfgang@rohdewald.de>2016-08-06 07:40:45 (GMT)
commit1f67e96c53e756732b838f2bf8bc1ec8f2d8bac8 (patch)
tree536b0a13bf3e2974d132bbc1ec1db6318cfd2832
parent0a40795f5b7b44590fe492fcfeac50edcc269097 (diff)
Debug.dangerousGame: fix a small regression from fixing bug 355266
-rw-r--r--src/server.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/server.py b/src/server.py
index 758c4ff..75ddb2c 100644
--- a/src/server.py
+++ b/src/server.py
@@ -675,6 +675,7 @@ class ServerTable(Table):
if dangerousText:
if mustPlayDangerous and player.lastSource not in 'dZ':
if Debug.dangerousGame:
+ tile = Tile(msg.args[0])
logDebug(u'%s claims no choice. Discarded %s, keeping %s. %s' %
(player, tile, ''.join(player.concealedTiles), ' / '.join(dangerousText)))
player.claimedNoChoice = True
@@ -685,6 +686,7 @@ class ServerTable(Table):
else:
player.playedDangerous = True
if Debug.dangerousGame:
+ tile = Tile(msg.args[0])
logDebug(u'%s played dangerous. Discarded %s, keeping %s. %s' %
(player, tile, ''.join(player.concealedTiles), ' / '.join(dangerousText)))
block.tellAll(