From d403c6f429fee356730d1189e7b177f67cf8e2d6 Mon Sep 17 00:00:00 2001 From: Stefano Pigozzi Date: Mon, 5 Dec 2016 19:16:15 +0100 Subject: [PATCH] =?UTF-8?q?bugfix=C3=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.py b/main.py index eb9f740..00c9ea5 100644 --- a/main.py +++ b/main.py @@ -201,7 +201,7 @@ class Terrorista(Role): if self.player == game.lastlynch: game.message(bot, s.terrorist_kaboom) for selectedplayer in game.players: - if selectedplayer.votingfor == player: + if selectedplayer.votingfor == self.player: game.message(bot, s.terrorist_target_killed.format(target=selectedplayer.tusername, icon=selectedplayer.role.icon, role=selectedplayer.role.name))