diff options
author | Viljami Ilola <+@hix.fi> | 2024-03-16 22:31:17 +0200 |
---|---|---|
committer | Viljami Ilola <+@hix.fi> | 2024-03-16 22:31:17 +0200 |
commit | 2e3a09a64f424fa2ead7d35ebcc24034de8b3586 (patch) | |
tree | cf40425c68e11acab806776efd3caa38c6dcee25 /src/sliceitoff/player/player.py | |
parent | 4050057c34c67130cf5f1d202ca85cb81985f968 (diff) |
remove unused code
Diffstat (limited to 'src/sliceitoff/player/player.py')
-rw-r--r-- | src/sliceitoff/player/player.py | 2 |
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): |