Commit 1f67e96c authored by Wolfgang Rohdewald's avatar Wolfgang Rohdewald
Browse files

Debug.dangerousGame: fix a small regression from fixing bug 355266

parent 0a40795f
......@@ -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(
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment