fix bug on load world data

This commit is contained in:
Shadow15510 2021-08-14 22:51:07 +02:00
parent 2bf04ba0d4
commit 188438d82a
1 changed files with 2 additions and 1 deletions

View File

@ -66,7 +66,8 @@ class Asci:
# Screen configuration
self.screen = Screen(screen_width, screen_height)
self.screen.set_world(maps[data[1]])
if maps[data[1]]: self.screen.set_world(maps[data[1]][0])
else: self.screen.set_world(maps[0])
self.map_width, self.map_height = self.screen.get_map_size()
def _looked_case(self, direction):