Failing to provide a world name at the load prompt results in error

Issue #2 new
Daniel Arant created an issue

File "src/main.py", line 96, in <module> Main().run() File "src/main.py", line 51, in run self.menu_command(cmd) File "src/main.py", line 72, in menu_command self.dashboard = dashboard.Dashboard(self.load_game(cmd[1]), self.input) File "src/main.py", line 91, in load_game wm.load(self.input) File "/home/daniel/Documents/Code/BasicRobots/src/worldmap.py", line 158, in load self.color2tile) File "/home/daniel/Documents/Code/BasicRobots/src/savable.py", line 38, in load_img surface = pygame.image.load(path) pygame.error: Couldn't open saves//env/worldmap.bmp

Comments (0)

  1. Log in to comment