impatience totem holder is added to the start of the voters list

prevents them from being killed by desperation totem when they didn't actually vote
This commit is contained in:
jacob1 2014-11-27 00:07:41 -05:00
parent addc7c9e96
commit 87d7b0d375

View File

@ -865,7 +865,7 @@ def chk_decision(cli, force = ""):
numvotes = 0
for v in var.IMPATIENT:
if v in pl and v not in voters and v != votee and v not in var.WOUNDED and v not in var.ASLEEP:
voters.append(v)
voters = [v] + voters
for v in voters:
weight = 1
imp_count = sum([1 if p == v else 0 for p in var.IMPATIENT])