Fix lover chain winning

The base code is still not user aware and uses nicks, so make sure we pass in nicks to it.
This commit is contained in:
Ryan Schmidt 2018-07-01 14:57:44 -07:00
parent 5f7e4e4d05
commit 7d2eefd12a

View File

@ -87,7 +87,7 @@ class GameMode:
if len(lovers) == lpl:
evt.data["winner"] = "lovers"
evt.data["additional_winners"] = list(lovers)
evt.data["additional_winners"] = list(l.nick for l in lovers)
evt.data["message"] = messages["lovers_win"]
def all_dead_chk_win(self, evt, var, rolemap, mainroles, lpl, lwolves, lrealwolves):