minor improvement

This commit is contained in:
Jonas Braus
2024-08-04 17:37:51 +02:00
parent 08f75b79d8
commit 7946fd789c
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -23,7 +23,7 @@ func _ready():
collision_shape_2d.shape = coll
func _physics_process(delta):
if abs(position.x - player.position.x) < 220 or is_down:
if abs(position.x - player.position.x) < 225 or is_down:
linear_velocity.x = speed
if ray_cast_left_2 == null: