mirror of
https://github.com/Farama-Foundation/Gymnasium.git
synced 2025-08-20 14:02:03 +00:00
Doom - Only setting seed once (#194)
This commit is contained in:
@@ -109,6 +109,7 @@ class DoomEnv(gym.Env, utils.EzPickle):
|
||||
def _start_episode(self):
|
||||
if self.curr_seed > 0:
|
||||
self.game.set_seed(self.curr_seed)
|
||||
self.curr_seed = 0
|
||||
self.game.new_episode()
|
||||
return
|
||||
|
||||
|
Reference in New Issue
Block a user