From 111531b07d25280ddb785244115b97b64099cd8f Mon Sep 17 00:00:00 2001 From: minenice55 Date: Tue, 26 Jul 2022 08:54:59 -0400 Subject: [PATCH] make dropdown properly update after auto-search --- .../LevelEditor/SettingsDialog/Tabs/ControllerSettings.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Assets/Scripts/LevelEditor/SettingsDialog/Tabs/ControllerSettings.cs b/Assets/Scripts/LevelEditor/SettingsDialog/Tabs/ControllerSettings.cs index 8be6d452..2fc2adfb 100644 --- a/Assets/Scripts/LevelEditor/SettingsDialog/Tabs/ControllerSettings.cs +++ b/Assets/Scripts/LevelEditor/SettingsDialog/Tabs/ControllerSettings.cs @@ -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); } } }