From ad9753c65d4a1bb40556e0765633068b34768eb2 Mon Sep 17 00:00:00 2001 From: JonShard Date: Sun, 2 Aug 2026 13:41:30 +0200 Subject: [PATCH] Fix a movement handle could get picked up by a station --- Stations/station_movement.gd | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Stations/station_movement.gd b/Stations/station_movement.gd index 4ced6c3..64662a2 100644 --- a/Stations/station_movement.gd +++ b/Stations/station_movement.gd @@ -85,6 +85,13 @@ func _set_ghost_color(color: Color) -> void: func _handle_pickup(_by: Node) -> void: print("StationMovement handle pickup") + if move_handle.get_picked_up_by() is XRToolsSnapZone: + print("StationMovement handle pickup by snap zone, dropping and resetting position") + move_handle.drop() + move_handle.global_position = station.global_position + Vector3(0, original_y_pos, 0) + move_handle.rotation = station.rotation + return + moving = true move_ghost.visible = true station.visible = false