Hide traitor turning message if role reveal is off

This commit is contained in:
skizzerz 2014-07-16 23:34:20 -05:00
parent 1acb9fc51d
commit 3203b10015

View File

@ -1191,9 +1191,10 @@ def chk_win(cli, end_game = True):
for t in var.ROLES["traitor"]: for t in var.ROLES["traitor"]:
var.LOGGER.logBare(t, "TRANSFORM") var.LOGGER.logBare(t, "TRANSFORM")
chk_traitor(cli) chk_traitor(cli)
cli.msg(chan, ('\u0002The villagers, during their celebrations, are '+ if var.ROLE_REVEAL:
'frightened as they hear a loud howl. The wolves are '+ cli.msg(chan, ('\u0002The villagers, during their celebrations, are '+
'not gone!\u0002')) 'frightened as they hear a loud howl. The wolves are '+
'not gone!\u0002'))
var.LOGGER.logMessage(('The villagers, during their celebrations, are '+ var.LOGGER.logMessage(('The villagers, during their celebrations, are '+
'frightened as they hear a loud howl. The wolves are '+ 'frightened as they hear a loud howl. The wolves are '+
'not gone!')) 'not gone!'))