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:
parent
addc7c9e96
commit
87d7b0d375
@ -865,7 +865,7 @@ def chk_decision(cli, force = ""):
|
|||||||
numvotes = 0
|
numvotes = 0
|
||||||
for v in var.IMPATIENT:
|
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:
|
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:
|
for v in voters:
|
||||||
weight = 1
|
weight = 1
|
||||||
imp_count = sum([1 if p == v else 0 for p in var.IMPATIENT])
|
imp_count = sum([1 if p == v else 0 for p in var.IMPATIENT])
|
||||||
|
Loading…
x
Reference in New Issue
Block a user