diff --git a/src/empty_space_thing.gd b/src/empty_space_thing.gd index 9ea32c4..9534b06 100644 --- a/src/empty_space_thing.gd +++ b/src/empty_space_thing.gd @@ -67,7 +67,7 @@ func _process(delta: float) -> void: if bounce: velocity = -(velocity)/2 print("velocity negated, bouncing") - global_position.x = 999 + global_position.x = max_x - 1 time_since_first_location = -1 draggable = true return @@ -76,7 +76,7 @@ func _process(delta: float) -> void: if bounce: velocity = -(velocity)/2 print("velocity negated, bouncing") - global_position.x = 1 + global_position.x = min_x + 1 time_since_first_location = -1 draggable = true return