make dropdown properly update after auto-search

This commit is contained in:
minenice55 2022-07-26 08:54:59 -04:00
parent 8c40bae444
commit c4d77c2254

View file

@ -53,9 +53,9 @@ namespace HeavenStudio.Editor
InputController lastController = PlayerInput.GetInputController(1);
isAutoSearching = false;
autoSearchLabel.SetActive(false);
controllersDropdown.value = PlayerInput.GetInputControllerId(1);
AssignController(controller, lastController);
controllersDropdown.value = PlayerInput.GetInputControllerId(1);
}
}
}