ukoethe / bomberman_rl

24 stars 66 forks source link

Initialise arguments before using it #5

Closed hericks closed 3 years ago

hericks commented 3 years ago

Currently, GenericWorld calls self.setup_logging() before it initialises self.args, which produces an error for some users. The pull request swaps the order of the initialisation and the call to self.setup_logging().

fdraxler commented 3 years ago

Thanks for the fix, I did the same change in parallel. Next time I need to test the code better when changing it.