Skip to content

Commit

Permalink
hotfix pygame
Browse files Browse the repository at this point in the history
  • Loading branch information
LucasAlegre committed Feb 13, 2024
1 parent d6b4d16 commit cccb033
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions mo_gymnasium/envs/minecart/minecart.py
Original file line number Diff line number Diff line change
Expand Up @@ -638,8 +638,6 @@ def render(self):
return np.transpose(np.array(pygame.surfarray.pixels3d(self.canvas)), axes=(1, 0, 2))

def render_pygame(self):
pygame.event.get()

self.mine_sprites.update()

# Clear canvas
Expand Down

0 comments on commit cccb033

Please sign in to comment.