修复未导入地图的bug
This commit is contained in:
parent
6a22c51231
commit
5422c371ff
@ -31,6 +31,7 @@ class Level(tool.State):
|
||||
# self.map_y_len = self.map.height
|
||||
# self.setupBackground()
|
||||
# self.initState()
|
||||
self.loadMap()
|
||||
self.map = map.Map(self.map_data[c.BACKGROUND_TYPE])
|
||||
self.map_y_len = self.map.height
|
||||
self.setupBackground()
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user