From afc781e227377dc3e51a8d2c4e48e87ee6d853c8 Mon Sep 17 00:00:00 2001 From: T1MON Date: Thu, 4 Feb 2021 14:40:47 +0400 Subject: [PATCH] Bugfix Added spawner --- SpaceBattle/components/game.py | 1 + SpaceBattle/config.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/SpaceBattle/components/game.py b/SpaceBattle/components/game.py index e9394a2..8063fc0 100644 --- a/SpaceBattle/components/game.py +++ b/SpaceBattle/components/game.py @@ -63,6 +63,7 @@ def reset(self): self.ship.add(Groups.ALL) self.ship.locate(Conf.Window.WIDTH // 2, Conf.Window.HEIGHT // 2) Groups.ALL.add(self.ship) + self.game_over = False self.running = True def lose(self): diff --git a/SpaceBattle/config.py b/SpaceBattle/config.py index 8d79b75..d9ef522 100644 --- a/SpaceBattle/config.py +++ b/SpaceBattle/config.py @@ -10,7 +10,7 @@ class System: class Window: TITLE = "Space Battle" - FULLSCREEN = False + FULLSCREEN = True WIDTH = 1000 HEIGHT = 1000