Merge pull request #3 from jacob1/master

fix bug where targeted harlot could still shoot wolves (and get an extra bullet)
This commit is contained in:
nyuszika7h 2014-02-19 14:32:28 +01:00
commit c5f290a50c

View File

@ -1412,6 +1412,7 @@ def transition_day(cli, gameid=0):
if var.HVISITED.get(victim):
message.append("The wolves' selected victim was a harlot, "+
"who was not at home last night.")
victim = ""
if victim and (victim not in var.ROLES["harlot"] or # not a harlot
not var.HVISITED.get(victim)): # harlot stayed home
message.append(("The dead body of \u0002{0}\u0002, a "+