Skip to content

Commit

Permalink
Fix render mode not being taken from unwrapped base env in markov vec…
Browse files Browse the repository at this point in the history
…tor env
  • Loading branch information
elliottower committed Nov 28, 2023
1 parent 1683742 commit 84bcfe7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion supersuit/vector/markov_vector_wrapper.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ def __init__(self, par_env, black_death=False):
"""
self.par_env = par_env
self.metadata = par_env.metadata
self.render_mode = par_env.render_mode
self.render_mode = par_env.unwrapped.render_mode
self.observation_space = par_env.observation_space(par_env.possible_agents[0])
self.action_space = par_env.action_space(par_env.possible_agents[0])
assert all(
Expand Down

0 comments on commit 84bcfe7

Please sign in to comment.