From 2f10f7bed4d9538c05464bb13d92e54a0716722d Mon Sep 17 00:00:00 2001 From: Andreia Gaita Date: Thu, 8 Feb 2024 01:37:50 +0100 Subject: [PATCH] Fix processing exclusions during export --- .../editor/GodotTools/GodotTools/Export/ExportPlugin.cs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/modules/mono/editor/GodotTools/GodotTools/Export/ExportPlugin.cs b/modules/mono/editor/GodotTools/GodotTools/Export/ExportPlugin.cs index c634d9c1acff..c4f0b77ecf77 100644 --- a/modules/mono/editor/GodotTools/GodotTools/Export/ExportPlugin.cs +++ b/modules/mono/editor/GodotTools/GodotTools/Export/ExportPlugin.cs @@ -389,10 +389,10 @@ private static void RecursePublishContents(string path, Func filte if (filterDir(dir)) { addEntry(dir, false); - } - else if (recurseDir(dir)) - { - RecursePublishContents(dir, filterDir, filterFile, recurseDir, addEntry); + if (recurseDir(dir)) + { + RecursePublishContents(dir, filterDir, filterFile, recurseDir, addEntry); + } } } }