littel change
This commit is contained in:
parent
36e68f3a6b
commit
4a6d0480d8
@ -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
|
||||
|
@ -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']),
|
||||
|
Loading…
Reference in New Issue
Block a user