From 1fd8db463960cad4ac98c8b58ef439f528180f24 Mon Sep 17 00:00:00 2001 From: Irina Ternovaja Date: Mon, 29 Jan 2024 10:10:06 +0000 Subject: [PATCH] Update main.py --- main.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/main.py b/main.py index cd41b2d..e7265f4 100644 --- a/main.py +++ b/main.py @@ -10,8 +10,8 @@ def run(): screen=pygame.display.set_mode((500, 500)) pygame.display.set_caption("flower") gun=Gun(screen) - bullets=Group() - enemies=Group() + bullets=Group(screen) + enemies=Group(screen) stats = Stats() scores = Scores(screen, stats) bg_color = (250,250,0)