Small change

This commit is contained in:
Chandler Cox
2023-10-11 16:17:59 -05:00
parent 8eb9df9a18
commit 28d6fe84ef

View File

@@ -85,11 +85,10 @@ namespace FlaxEditor.Surface.Archetypes
{
base.ConnectionTick(box);
if (_assetBox != null)
{
if (box.ID != _assetBox.ID)
return;
}
if (_assetBox == null)
return;
if (box.ID != _assetBox.ID)
return;
_assetSelect.Visible = !box.HasAnyConnection;
UpdateTitle();