mirror of
https://github.com/RYGhub/royal-mifia.git
synced 2024-11-22 13:54:19 +00:00
:
This commit is contained in:
parent
e15be7062f
commit
396b63dead
1 changed files with 1 additions and 1 deletions
2
main.py
2
main.py
|
@ -455,7 +455,7 @@ def vote(bot, update):
|
||||||
game = findgamebyid(update.message.chat['id'])
|
game = findgamebyid(update.message.chat['id'])
|
||||||
if game is not None and game.phase is 'Voting':
|
if game is not None and game.phase is 'Voting':
|
||||||
player = game.findplayerbyid(update.message.from_user['id'])
|
player = game.findplayerbyid(update.message.from_user['id'])
|
||||||
if player is not None
|
if player is not None:
|
||||||
if player.alive:
|
if player.alive:
|
||||||
target = game.findplayerbyusername(update.message.text.split(' ')[1])
|
target = game.findplayerbyusername(update.message.text.split(' ')[1])
|
||||||
if target is not None:
|
if target is not None:
|
||||||
|
|
Loading…
Reference in a new issue