fix !stats for wolves in PM being out of order
should be in player join order, not randomly shuffled
This commit is contained in:
parent
debf9c78ff
commit
3fd1360fed
@ -1459,7 +1459,6 @@ def stats(cli, nick, chan, rest):
|
||||
|
||||
if chan == nick and nick in pl and var.get_role(nick) in badguys | {"warlock"}:
|
||||
ps = pl[:]
|
||||
random.shuffle(ps)
|
||||
for i, player in enumerate(ps):
|
||||
prole = var.get_role(player)
|
||||
if prole in badguys and var.get_role(nick) in badguys:
|
||||
|
Loading…
x
Reference in New Issue
Block a user