Fix nicks not being tracked in join phase
This commit is contained in:
parent
a10f6052a6
commit
4a969f729a
@ -3455,6 +3455,8 @@ def rename_player(cli, prefix, nick):
|
|||||||
if prefix in var.SPECTATING_WOLFCHAT:
|
if prefix in var.SPECTATING_WOLFCHAT:
|
||||||
var.SPECTATING_WOLFCHAT.remove(prefix)
|
var.SPECTATING_WOLFCHAT.remove(prefix)
|
||||||
var.SPECTATING_WOLFCHAT.add(nick)
|
var.SPECTATING_WOLFCHAT.add(nick)
|
||||||
|
|
||||||
|
if var.PHASE in ("join", "day", "night"):
|
||||||
if prefix in var.ALL_PLAYERS:
|
if prefix in var.ALL_PLAYERS:
|
||||||
# ALL_PLAYERS needs to keep its ordering for purposes of mad scientist
|
# ALL_PLAYERS needs to keep its ordering for purposes of mad scientist
|
||||||
# it also needs updating after death to disallow epic breakages
|
# it also needs updating after death to disallow epic breakages
|
||||||
|
Loading…
Reference in New Issue
Block a user