fix players not becoming unentranced if succubus dying ends game
This commit is contained in:
parent
99c8845118
commit
d72eadf34f
@ -3103,8 +3103,9 @@ def del_player(cli, nick, forced_death=False, devoice=True, end_game=True, death
|
|||||||
if ret:
|
if ret:
|
||||||
join_deadchat(cli, *deadchat)
|
join_deadchat(cli, *deadchat)
|
||||||
del deadchat[:]
|
del deadchat[:]
|
||||||
if var.PHASE in ("night", "day") and ret:
|
if var.PHASE in ("night", "day"):
|
||||||
# remove the player from variables if they're in there
|
# remove the player from variables if they're in there
|
||||||
|
if ret:
|
||||||
for a,b in list(var.KILLS.items()):
|
for a,b in list(var.KILLS.items()):
|
||||||
for n in b: #var.KILLS can have 2 kills in a list
|
for n in b: #var.KILLS can have 2 kills in a list
|
||||||
if n == nick:
|
if n == nick:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user