fix error if mad scientist-assassin targets one of their own kills

This commit is contained in:
jacob1 2014-12-17 23:18:27 -05:00
parent 6911ce2ac7
commit 5736f3d758

View File

@ -1975,6 +1975,7 @@ def del_player(cli, nick, forced_death = False, devoice = True, end_game = True,
target2 = var.ALL_PLAYERS[i] target2 = var.ALL_PLAYERS[i]
break break
pl = var.list_players() #might be outdated if player is also assassin
if target1 in pl: if target1 in pl:
if target2 in pl and target1 != target2: if target2 in pl and target1 != target2:
if var.ROLE_REVEAL: if var.ROLE_REVEAL: