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:
parent
5f7e4e4d05
commit
7d2eefd12a
@ -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):
|
||||
|
Loading…
Reference in New Issue
Block a user