Fix roleswap wins

This commit is contained in:
skizzerz 2017-12-13 22:49:18 -06:00
parent 7a66275bcc
commit 0cc497111f

View File

@ -2070,7 +2070,7 @@ def stop_game(winner="", abort=False, additional_winners=None, log=True):
continue
for x in ppl:
if x is not None:
if x in var.FINAL_ROLES:
if x.nick in var.FINAL_ROLES:
plrl[x] = var.FINAL_ROLES[x.nick]
else:
plrl[x] = role