From e1f2bb7057e9ad169c6db828dbb2f191a6e3ccbd Mon Sep 17 00:00:00 2001 From: Viljami Ilola <+@hix.fi> Date: Sat, 27 Apr 2024 23:40:13 +0300 Subject: lint --- src/sliceitoff/player/life.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/sliceitoff/player/life.py b/src/sliceitoff/player/life.py index 9e9b6b8..eedb4aa 100644 --- a/src/sliceitoff/player/life.py +++ b/src/sliceitoff/player/life.py @@ -28,12 +28,10 @@ class Life(pygame.sprite.Group): def lose_life(self): """ Commands group to regenerate its sprites and sets timeout """ self.timeout = 1_500 - font_width = int(Scaling.factor * 200_000) - block_width = int(Scaling.factor * 8_000) + srfc = get_letter_surface(("8x8", 200_000, 4), 0x03) offset = ( int(Scaling.factor * 72_500 + Scaling.left), int(Scaling.factor * 20_000 + Scaling.top)) - srfc = get_letter_surface(("8x8", 200_000, 4), 0x03) block_width = srfc.get_rect().w // 24 for x in range(0, block_width * 24, block_width): for y in range(0, block_width * 24, block_width): -- cgit v1.2.3