Make DoomEnvs ezpickle-able

This commit is contained in:
Jie Tang
2016-05-18 01:47:08 -07:00
parent 4950a7e061
commit 183e3bb335
9 changed files with 13 additions and 1 deletions

View File

@@ -38,6 +38,7 @@ class DoomBasicEnv(doom_env.DoomEnv):
-----------------------------------------------------
"""
def __init__(self):
super(DoomBasicEnv, self).__init__()
package_directory = os.path.dirname(os.path.abspath(__file__))
self.loader = Loader()
self.game = DoomGame()