mirror of
https://github.com/RYGhub/royalnet.git
synced 2024-11-27 13:34:28 +00:00
Trovato l'errore!
This commit is contained in:
parent
21cd66dc3b
commit
c0a6ddd157
1 changed files with 2 additions and 0 deletions
2
mifia.py
2
mifia.py
|
@ -238,6 +238,8 @@ def loadgame(chatid) -> Game:
|
|||
lp.alive = bool(loaded[player]['alive'])
|
||||
lp.username = player
|
||||
lp.role = int(loaded[player]['role'])
|
||||
if lp.role == 1 or lp.role == 2:
|
||||
lp.special = True
|
||||
lp.telegramid = int(loaded[player]['telegramid'])
|
||||
l.players.append(lp)
|
||||
l.groupid = int(loaded['General']['groupid'])
|
||||
|
|
Loading…
Reference in a new issue