diff options
-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): |