Update ai_manager.py

Disable player rest feature
This commit is contained in:
Cal Corum 2023-07-24 23:41:41 -05:00
parent edc6839b76
commit b6920bbc03

View File

@ -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: