diff --git a/libs/loads.py b/libs/loads.py index 97b2226..be6b2d7 100644 --- a/libs/loads.py +++ b/libs/loads.py @@ -16,9 +16,3 @@ def config(file_name, stack=None): if stack != None: rd = rd[stack] return rd - - -def window_config(): - j_config = config("./configs/window.json") - config_r = (j_config) - return config_r diff --git a/libs/main.py b/libs/main.py index 31df11e..73ee31a 100644 --- a/libs/main.py +++ b/libs/main.py @@ -24,7 +24,7 @@ class Game: def setup(self): # dic - self.window_c = libs.loads.window_config() + self.window_c = libs.loads.config(".\\configs\\window.json") # window self.window = Window(width=int(self.window_c['width']), height=int(self.window_c['height']),