move only invocation of GraphManager.handle_episode_ended inline
This commit is contained in:
1 parent
18d84c5037
commit
d32d909238
1 file changed
+1
-1
@@ -386,7 +386,7 @@ class GraphManager(object):
|
||||
|
||||
if result.game_over:
|
||||
self.handle_episode_ended()
|
||||
# TODO: why not just reset right now?
|
||||
|
||||
self.reset_required = True
|
||||
if keep_networks_in_sync:
|
||||
self.sync_graph()
|
||||
|
||||
Reference in new issue
Block a user