1
Fork 0
mirror of https://github.com/RYGhub/royal-mifia.git synced 2024-11-22 13:54:19 +00:00
This commit is contained in:
Steffo 2016-05-26 09:18:07 +00:00
parent e15be7062f
commit 396b63dead

View file

@ -455,7 +455,7 @@ def vote(bot, update):
game = findgamebyid(update.message.chat['id'])
if game is not None and game.phase is 'Voting':
player = game.findplayerbyid(update.message.from_user['id'])
if player is not None
if player is not None:
if player.alive:
target = game.findplayerbyusername(update.message.text.split(' ')[1])
if target is not None: