From c0a6ddd1575f12e98b12017d82e6ca3ccad1647f Mon Sep 17 00:00:00 2001 From: Stefano Pigozzi Date: Wed, 20 Apr 2016 17:36:47 +0200 Subject: [PATCH] Trovato l'errore! --- mifia.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/mifia.py b/mifia.py index 0f96813a..c9748c9a 100644 --- a/mifia.py +++ b/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'])