summaryrefslogtreecommitdiff
path: root/src/sliceitoff/player/player.py
diff options
context:
space:
mode:
authorViljami Ilola <+@hix.fi>2024-03-16 22:31:17 +0200
committerViljami Ilola <+@hix.fi>2024-03-16 22:31:17 +0200
commit2e3a09a64f424fa2ead7d35ebcc24034de8b3586 (patch)
treecf40425c68e11acab806776efd3caa38c6dcee25 /src/sliceitoff/player/player.py
parent4050057c34c67130cf5f1d202ca85cb81985f968 (diff)
remove unused code
Diffstat (limited to 'src/sliceitoff/player/player.py')
-rw-r--r--src/sliceitoff/player/player.py2
1 files changed, 1 insertions, 1 deletions
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):