diff --git a/cowyeet.py b/cowyeet.py index c42990d..ea50467 100644 --- a/cowyeet.py +++ b/cowyeet.py @@ -107,7 +107,7 @@ def window_size_reload(new_size): def load_level(lvl): - level_data = __import__("data.levels.1") + level_data = __import__("data.levels." + str(lvl), fromlist="data.levels") def main_menu_page():