Skip to content

Commit

Permalink
Fixed a rare bug causing seaquest environment to crash if a bullet ov…
Browse files Browse the repository at this point in the history
…erlapped with 2 or more subs
  • Loading branch information
kenjyoung committed May 7, 2021
1 parent 8fceb58 commit 310c7c3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions minatar/environments/seaquest.py
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,7 @@ def act(self, a):
self.e_subs.remove(x)
self.f_bullets.remove(bullet)
r+=1
break

# Update divers
for diver in reversed(self.divers):
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

setup(
name='MinAtar',
version='1.0.6',
version='1.0.7',
description='A miniaturized version of the arcade learning environment.',
url='https://github.com/kenjyoung/MinAtar',
author='Kenny Young',
Expand Down

1 comment on commit 310c7c3

@kenjyoung
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks to etalvitie for pointing this out in this fork: https://github.com/etalvitie/MinAtar. This shouldn't affect you unless you have experienced the seaquest environment crashing.

Please sign in to comment.