From 28d6fe84efde592e384579c27059bca3d5b20f45 Mon Sep 17 00:00:00 2001 From: Chandler Cox Date: Wed, 11 Oct 2023 16:17:59 -0500 Subject: [PATCH] Small change --- Source/Editor/Surface/Archetypes/Animation.cs | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/Source/Editor/Surface/Archetypes/Animation.cs b/Source/Editor/Surface/Archetypes/Animation.cs index 5743b2a84..40a3d2a63 100644 --- a/Source/Editor/Surface/Archetypes/Animation.cs +++ b/Source/Editor/Surface/Archetypes/Animation.cs @@ -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();