Made function load_level() work.
This commit is contained in:
parent
d83f4c5cd7
commit
f8aa5bd3d9
1 changed files with 1 additions and 1 deletions
|
@ -107,7 +107,7 @@ def window_size_reload(new_size):
|
||||||
|
|
||||||
|
|
||||||
def load_level(lvl):
|
def load_level(lvl):
|
||||||
level_data = __import__("data.levels.1")
|
level_data = __import__("data.levels." + str(lvl), fromlist="data.levels")
|
||||||
|
|
||||||
|
|
||||||
def main_menu_page():
|
def main_menu_page():
|
||||||
|
|
Loading…
Reference in a new issue