diff --git a/Assets/_PROJECT/Scripts/ModeGeneration/ShapeDetection/ShapeScanner.cs b/Assets/_PROJECT/Scripts/ModeGeneration/ShapeDetection/ShapeScanner.cs index f3945e79..64fa18ad 100644 --- a/Assets/_PROJECT/Scripts/ModeGeneration/ShapeDetection/ShapeScanner.cs +++ b/Assets/_PROJECT/Scripts/ModeGeneration/ShapeDetection/ShapeScanner.cs @@ -145,13 +145,7 @@ public class ShapeScanner : MonoBehaviour var grab = collidingObject.GetComponent(); if (grab != null && grab.isSelected) { - var interactors = new List(grab.interactorsSelecting); // the controllers currently holding it - foreach (var interactor in interactors) - { - // Transfer ownership: tell the manager to stop the selection - //interactionManager.SelectExit(interactor, grab); // Not necessary, creates errors - grab.enabled = false; - } + grab.enabled = false; } collidingObject.transform.position = Vector3.zero; Destroy(collidingObject);