mirror of
https://github.com/RYGhub/royal-mifia.git
synced 2024-11-22 05:44:19 +00:00
Fixato loop infinito con il Terrorista
This commit is contained in:
parent
6db6674d5e
commit
f8a5a611c8
1 changed files with 1 additions and 1 deletions
|
@ -18,6 +18,6 @@ class Terrorista(Role):
|
|||
self.player.game.message(s.terrorist_kaboom)
|
||||
for selectedplayer in self.player.game.players:
|
||||
# Elimina ogni giocatore che sta votando per sè stesso
|
||||
if selectedplayer.votingfor == self.player:
|
||||
if selectedplayer.votingfor == self.player and selectedplayer.alive:
|
||||
self.player.game.message(s.terrorist_target_killed.format(target=selectedplayer.tusername, icon=selectedplayer.role.icon, role=selectedplayer.role.name))
|
||||
selectedplayer.kill()
|
||||
|
|
Loading…
Reference in a new issue