From 27c7e16e4bd808ce1176f18b7a78c02ff4fa88ee Mon Sep 17 00:00:00 2001 From: Viljami Ilola <+@hix.fi> Date: Thu, 28 Mar 2024 23:34:19 +0200 Subject: fonts under text, more sprite.Groups --- src/sliceitoff/display/display.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/sliceitoff/display/display.py') diff --git a/src/sliceitoff/display/display.py b/src/sliceitoff/display/display.py index c2a3e44..2febdc2 100644 --- a/src/sliceitoff/display/display.py +++ b/src/sliceitoff/display/display.py @@ -30,8 +30,7 @@ class Display(): self.screen.fill(Stats.bgcolor, rect=Scaling.active) #(g.draw(self.screen) for g in groups if g) for group in groups: - if group: - group.draw(self.screen) + group.draw(self.screen) self.screen.fill(Stats.bordercolor, rect=Scaling.borders[0]) self.screen.fill(Stats.bordercolor, rect=Scaling.borders[1]) pygame.display.flip() -- cgit v1.2.3