Commit 36d57fce authored by Benjamin Beyret's avatar Benjamin Beyret
Browse files

fix unreachable tc update_config

parent 1ac43e8f
......@@ -183,8 +183,8 @@ class TrainerController(object):
return env.reset(arenas_configurations=self.meta_curriculum.get_config())
else:
if self.update_config:
return env.reset(arenas_configurations=self.config)
self.update_config = False
return env.reset(arenas_configurations=self.config)
else:
return env.reset()
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment