diff --git a/pysc2/bin/agent.py b/pysc2/bin/agent.py
index <HASH>..<HASH> 100755
--- a/pysc2/bin/agent.py
+++ b/pysc2/bin/agent.py
@@ -49,7 +49,7 @@ flags.DEFINE_bool("use_feature_units", False,
                   "Whether to include feature units.")
 
 flags.DEFINE_integer("max_agent_steps", 0, "Total agent steps.")
-flags.DEFINE_integer("game_steps_per_episode", 0, "Game steps per episode.")
+flags.DEFINE_integer("game_steps_per_episode", None, "Game steps per episode.")
 flags.DEFINE_integer("step_mul", 8, "Game steps per agent step.")
 
 flags.DEFINE_string("agent", "pysc2.agents.random_agent.RandomAgent",
Use the map's default episode length.

PiperOrigin-RevId: <I>