1
Fork 0
mirror of https://github.com/RYGhub/royal-mifia.git synced 2024-11-29 00:54:18 +00:00
This commit is contained in:
Steffo 2017-07-07 23:32:33 +03:00
parent e2ad1024db
commit f2afa0ff93

View file

@ -361,7 +361,7 @@ class Game:
negativeroles = list()
for role in rolepriority:
if role.team == "Evil":
positiveroles.append(role)
negativeroles.append(role)
# Aggiungi ruoli positivi casuali finchè la partita non viene bilanciata
while balance < 0 and unassignedplayers > 0:
role = random.sample(positiveroles, 1)[0]