summaryrefslogtreecommitdiffstats
path: root/modules
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2024-02-12 23:29:47 +0100
committerRémi Verschelde <rverschelde@gmail.com>2024-02-12 23:29:47 +0100
commit7d89f557f3b52d153a5609c509543192dab44b5c (patch)
tree293c914d3e1cdc7185617e95ab27ecfab834612c /modules
parentfd43a7f3beb026a2b924dc93c4c3313d8d51f764 (diff)
parent2f10f7bed4d9538c05464bb13d92e54a0716722d (diff)
downloadredot-engine-7d89f557f3b52d153a5609c509543192dab44b5c.tar.gz
Merge pull request #88238 from shana/cs-export-fix-output-files
C#: Fix processing exclusions during export
Diffstat (limited to 'modules')
-rw-r--r--modules/mono/editor/GodotTools/GodotTools/Export/ExportPlugin.cs8
1 files 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 c634d9c1ac..c4f0b77ecf 100644
--- a/modules/mono/editor/GodotTools/GodotTools/Export/ExportPlugin.cs
+++ b/modules/mono/editor/GodotTools/GodotTools/Export/ExportPlugin.cs
@@ -389,10 +389,10 @@ namespace GodotTools.Export
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);
+ }
}
}
}