From 16294bd71bef78a70e6fef7f2c61d8349f26b5b8 Mon Sep 17 00:00:00 2001 From: hsahovic <25432355+hsahovic@users.noreply.github.com> Date: Wed, 10 Nov 2021 22:47:56 -0500 Subject: [PATCH] Fix save_replay being ignored by EnvPlayer objects --- src/poke_env/player/env_player.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/poke_env/player/env_player.py b/src/poke_env/player/env_player.py index e9661444b..29542b730 100644 --- a/src/poke_env/player/env_player.py +++ b/src/poke_env/player/env_player.py @@ -84,6 +84,7 @@ def __init__( else self._DEFAULT_BATTLE_FORMAT, log_level=log_level, max_concurrent_battles=1, + save_replays=save_replays, server_configuration=server_configuration, start_listening=start_listening, start_timer_on_battle_start=start_timer_on_battle_start,