diff --git a/Game Client/Classes/System/App.py b/Game Client/Classes/System/App.py index 36d6af4..a2ad099 100644 --- a/Game Client/Classes/System/App.py +++ b/Game Client/Classes/System/App.py @@ -16,6 +16,7 @@ class App: def __init__(self, width:int=800, height:int=600, title:str="default title"): self.__window = Window(width=width, height=height, title=title) self.startGameLoop() + self.onCleanup() def startGameLoop(self): while self.__running: diff --git a/Game Client/Classes/System/__pycache__/App.cpython-311.pyc b/Game Client/Classes/System/__pycache__/App.cpython-311.pyc index 6f39121..6e906df 100644 Binary files a/Game Client/Classes/System/__pycache__/App.cpython-311.pyc and b/Game Client/Classes/System/__pycache__/App.cpython-311.pyc differ diff --git a/Game Client/Classes/System/__pycache__/InputHandler.cpython-311.pyc b/Game Client/Classes/System/__pycache__/InputHandler.cpython-311.pyc index 22552dc..6195409 100644 Binary files a/Game Client/Classes/System/__pycache__/InputHandler.cpython-311.pyc and b/Game Client/Classes/System/__pycache__/InputHandler.cpython-311.pyc differ