diff options
author | Viljami Ilola <+@hix.fi> | 2024-04-27 23:40:13 +0300 |
---|---|---|
committer | Viljami Ilola <+@hix.fi> | 2024-04-27 23:40:13 +0300 |
commit | e1f2bb7057e9ad169c6db828dbb2f191a6e3ccbd (patch) | |
tree | 8fa4190a50b2dff3ad5322e783e37654b3d0e4ec | |
parent | 33e7e0e233b2f0cba9f5b58c8b317efbb2cb786d (diff) |
lint
-rw-r--r-- | src/sliceitoff/player/life.py | 4 |
1 files changed, 1 insertions, 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): |