summaryrefslogtreecommitdiff
path: root/modules/gdscript/SCsub
diff options
context:
space:
mode:
Diffstat (limited to 'modules/gdscript/SCsub')
-rw-r--r--modules/gdscript/SCsub5
1 files changed, 4 insertions, 1 deletions
diff --git a/modules/gdscript/SCsub b/modules/gdscript/SCsub
index 0882406761..13870170a5 100644
--- a/modules/gdscript/SCsub
+++ b/modules/gdscript/SCsub
@@ -1,7 +1,10 @@
#!/usr/bin/env python
Import('env')
+Import('env_modules')
-env.add_source_files(env.modules_sources, "*.cpp")
+env_gdscript = env_modules.Clone()
+
+env_gdscript.add_source_files(env.modules_sources, "*.cpp")
Export('env')