Fix compile errors due to Beef.Linq update

This commit is contained in:
Simon Lübeß
2026-08-16 22:21:53 +02:00
parent 2a90374b5b
commit c81e695981
4 changed files with 18 additions and 8 deletions
+1 -1
View File
@@ -497,7 +497,7 @@ class AssetHierarchy
void AddEntryToTree(String filePath, bool isDirectory, TreeNode<AssetNode> parentNode)
{
// Try to find the node for the specified path in the given parent
TreeNode<AssetNode> treeNode = parentNode.Children.Where(scope (node) => node.Value.Path == filePath).FirstOrDefault();
TreeNode<AssetNode> treeNode = parentNode.Children.Where((node) => node.Value.Path == filePath).FirstOrDefault();
// If no node was found -> create one
if (treeNode == null)