Skip to content

Commit

Permalink
fixed manual control bug
Browse files Browse the repository at this point in the history
  • Loading branch information
xiaoxionglin committed Oct 31, 2024
1 parent 3c5879f commit 6ca5d0f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion miniworld/manual_control.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

class ManualControl:
def __init__(self, env, no_time_limit, domain_rand):
self.env = env
self.env = env.unwrapped

if no_time_limit:
self.env.max_episode_steps = math.inf
Expand Down

0 comments on commit 6ca5d0f

Please sign in to comment.