Skip to content

Commit 2b63f46

Browse files
committed
fix: fixing a bug that caused the API target to get dropped when the API was disabled
1 parent f42fe54 commit 2b63f46

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

Assets/Scripts/API/ProbeMatchDropdown.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,9 +43,8 @@ public void UpdateDropdown(List<string> opts)
4343
_dropdown.SetValueWithoutNotify(targetIdx);
4444
else
4545
{
46-
// If it's not possible to target this particular target, reset the APITarget
46+
// If it's not possible to target this particular target
4747
_dropdown.SetValueWithoutNotify(0); // None option
48-
_probeManager.APITarget = null;
4948
}
5049
}
5150

0 commit comments

Comments
 (0)