mirror of
https://github.com/RYGhub/royal-mifia.git
synced 2024-11-29 00:54:18 +00:00
mah?
This commit is contained in:
parent
e2ad1024db
commit
f2afa0ff93
1 changed files with 1 additions and 1 deletions
2
main.py
2
main.py
|
@ -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]
|
||||
|
|
Loading…
Reference in a new issue