Skip to content

Commit 3fe655b

Browse files
committed
fix: Fixed an issue where transports would be cleared when reinstalling MLAPI
1 parent 233a39e commit 3fe655b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

MLAPI-Editor/MLAPIEditor.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -374,7 +374,7 @@ private void OnGUI()
374374
{
375375
EditorGUI.indentLevel++;
376376

377-
string transportDirectory = Path.Combine(Path.Combine(Path.Combine(Path.Combine(Application.dataPath, "MLAPI"), "Lib"), "OfficialTransports"), transportArtifacts[i].id);
377+
string transportDirectory = Path.Combine(Path.Combine(Path.Combine(Application.dataPath, "MLAPI"), "OfficialTransports"), transportArtifacts[i].id);
378378

379379
EditorGUILayout.LabelField("Description", EditorStyles.boldLabel);
380380
EditorGUILayout.LabelField(transportArtifacts[i].description, EditorStyles.wordWrappedLabel);
@@ -598,7 +598,7 @@ private IEnumerator InstallTransport(int index)
598598
statusMessage = "Cleaning transport folder";
599599
yield return null;
600600

601-
string transportDirectory = Path.Combine(Path.Combine(Path.Combine(Path.Combine(Application.dataPath, "MLAPI"), "Lib"), "OfficialTransports"), transportArtifacts[index].id);
601+
string transportDirectory = Path.Combine(Path.Combine(Path.Combine(Application.dataPath, "MLAPI"), "OfficialTransports"), transportArtifacts[index].id);
602602

603603
if (Directory.Exists(transportDirectory))
604604
Directory.Delete(transportDirectory, true);

0 commit comments

Comments
 (0)