From 485da98499aa9b9014897bab8f5cbe971a6f3b8b Mon Sep 17 00:00:00 2001 From: Razmoth <32140579+Razmoth@users.noreply.github.com> Date: Fri, 24 Nov 2023 21:23:45 +0400 Subject: [PATCH] - [Core] fix build --- AssetStudio.GUI/AssetBrowser.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/AssetStudio.GUI/AssetBrowser.cs b/AssetStudio.GUI/AssetBrowser.cs index 5dfdd54..5b39f06 100644 --- a/AssetStudio.GUI/AssetBrowser.cs +++ b/AssetStudio.GUI/AssetBrowser.cs @@ -82,10 +82,10 @@ namespace AssetStudio.GUI } var assets = ResourceMap.GetEntries(); - if (assets.Length != 0) + if (assets.Count != 0) { var regex = new Regex(value, RegexOptions.IgnoreCase); - assetListView.DataSource = Array.FindAll(assets, x => x.Matches(filters)); + assetListView.DataSource = assets.FindAll(x => x.Matches(filters)); } else {