From 2e3a09a64f424fa2ead7d35ebcc24034de8b3586 Mon Sep 17 00:00:00 2001 From: Viljami Ilola <+@hix.fi> Date: Sat, 16 Mar 2024 22:31:17 +0200 Subject: remove unused code --- src/sliceitoff/player/player.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/sliceitoff/player/player.py') diff --git a/src/sliceitoff/player/player.py b/src/sliceitoff/player/player.py index a7d2b63..f383077 100644 --- a/src/sliceitoff/player/player.py +++ b/src/sliceitoff/player/player.py @@ -47,7 +47,7 @@ class Player(): def fire_lazer(self): # self.lazer = True # self.updated = True - hitbox = self.field.slice(self.position, self.direction, 1_000) + hitbox = self.field.slice(self.position, self.direction, 450) if hitbox is not None: for enemy in self.enemies.sprites: if hitbox.colliderect(enemy.rect): -- cgit v1.2.3