diff --git a/game.py b/game.py index d79fb93..832768c 100644 --- a/game.py +++ b/game.py @@ -410,5 +410,6 @@ def render(self): pygame.display.flip() self.clock.tick(30) # Ограничиваем FPS - def close(self): + @staticmethod + def close(): pygame.quit()