From 55b7e97f863f9042cfa8945e0196b4421b69275d Mon Sep 17 00:00:00 2001 From: Just Dzhi Date: Sun, 1 Oct 2023 19:29:27 +0400 Subject: [PATCH] fix player bullet --- src/models/player/player.gd | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/models/player/player.gd b/src/models/player/player.gd index dbe2c97..552638d 100644 --- a/src/models/player/player.gd +++ b/src/models/player/player.gd @@ -68,8 +68,8 @@ func _shoot(): bullet = bullet_preload.instance() bullet.target = target get_parent().add_child(bullet) - bullet.global_position.x = self.global_position.x + 12 - bullet.global_position.y = self.global_position.y - 4 + bullet.global_position.x = self.global_position.x + 8 + bullet.global_position.y = self.global_position.y + 8 func _draw(): if target != null and is_instance_valid(target):