Skip to content

Commit

Permalink
Merge branch 'main' of github.com:eilab-gt/NovGrid into main
Browse files Browse the repository at this point in the history
  • Loading branch information
balloch committed Jun 14, 2022
2 parents 128805f + ffa7c18 commit 0d73bfe
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
logs
novgrid/baselines/logs/*
novgrid/baselines/logs
*.pyc
Expand Down
2 changes: 1 addition & 1 deletion novgrid/envs/lavagapdoorkey.py
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ def step(self, action, **kwargs):
obs, reward, done, info = super().step(action)
if done and fwd_cell and fwd_cell.type == 'lava':
self.agent_pos = fwd_pos
obs = self.gen_obs()['image']
obs = self.gen_obs()
done = False
return obs, reward, done, info

Expand Down

0 comments on commit 0d73bfe

Please sign in to comment.