summaryrefslogtreecommitdiff
path: root/modules/gdscript/SCsub
diff options
context:
space:
mode:
Diffstat (limited to 'modules/gdscript/SCsub')
-rw-r--r--modules/gdscript/SCsub3
1 files changed, 3 insertions, 0 deletions
diff --git a/modules/gdscript/SCsub b/modules/gdscript/SCsub
index 13870170a5..73f09f1659 100644
--- a/modules/gdscript/SCsub
+++ b/modules/gdscript/SCsub
@@ -7,4 +7,7 @@ env_gdscript = env_modules.Clone()
env_gdscript.add_source_files(env.modules_sources, "*.cpp")
+if env['tools']:
+ env_gdscript.add_source_files(env.modules_sources, "./editor/*.cpp")
+
Export('env')