Skip to content

Commit

Permalink
Merge pull request #25 from BannoPostma/master
Browse files Browse the repository at this point in the history
fixed Multi-mode imports
  • Loading branch information
karinemiras authored Sep 13, 2023
2 parents 338dd92 + 34c55e1 commit 8408b71
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion evoman/environment.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ def __init__(self,
self.use_joystick = use_joystick

self.visuals = visuals
self.enemyImports = {e: __import__('evoman.enemy'+str(self.enemyn), fromlist=['enemy'+str(self.enemyn)]) for e in self.enemies}
self.enemyImports = {e: __import__('evoman.enemy'+str(e), fromlist=['enemy'+str(e)]) for e in self.enemies}



Expand Down

0 comments on commit 8408b71

Please sign in to comment.