Skip to content

Commit

Permalink
fixed manual control bug (#117)
Browse files Browse the repository at this point in the history
Co-authored-by: Mark Towers <[email protected]>
  • Loading branch information
xiaoxionglin and pseudo-rnd-thoughts authored Jan 11, 2025
1 parent 6501cd1 commit 1f1e4c6
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 1f1e4c6

Please sign in to comment.