From 749d47df38540342a7fe19029284b8115b03574a Mon Sep 17 00:00:00 2001 From: Viljami Ilola <+@hix.fi> Date: Sun, 24 Mar 2024 12:32:42 +0200 Subject: scoring --- src/sliceitoff/game/gameplay.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/sliceitoff/game') diff --git a/src/sliceitoff/game/gameplay.py b/src/sliceitoff/game/gameplay.py index 6869cbb..e1f17ab 100644 --- a/src/sliceitoff/game/gameplay.py +++ b/src/sliceitoff/game/gameplay.py @@ -21,7 +21,7 @@ class Gameplay: zap_sprite = self.field.slice( self.player.position, self.player.direction, - 4_500) + 4_000) if not zap_sprite: return False if pygame.sprite.spritecollideany(zap_sprite, self.enemies): -- cgit v1.2.3