Update ai_manager.py
Disable player rest feature
This commit is contained in:
parent
edc6839b76
commit
b6920bbc03
@ -287,7 +287,7 @@ async def build_lineup(team_object: dict, game_id: int, league_name: str, vs_han
|
||||
if pos is None or pos in ['SP', 'RP', 'CP']:
|
||||
break
|
||||
|
||||
if random.randint(1, 10) == 10 and rest_name is None:
|
||||
if random.randint(1, 10) == 10 and rest_name is None and False:
|
||||
logging.info(f'Resting {guy["p_name"]} in game {game_id}')
|
||||
rest_name = guy['p_name']
|
||||
elif players[pos] is None:
|
||||
|
||||
Loading…
Reference in New Issue
Block a user