summaryrefslogtreecommitdiff
path: root/modules/openxr/SCsub
diff options
context:
space:
mode:
Diffstat (limited to 'modules/openxr/SCsub')
-rw-r--r--modules/openxr/SCsub2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/openxr/SCsub b/modules/openxr/SCsub
index 11cc525484..b0853f4253 100644
--- a/modules/openxr/SCsub
+++ b/modules/openxr/SCsub
@@ -96,7 +96,7 @@ env_openxr.add_source_files(module_obj, "extensions/openxr_hand_tracking_extensi
env.modules_sources += module_obj
-if env["tools"]:
+if env.editor_build:
SConscript("editor/SCsub")
# Needed to force rebuilding the module files when the thirdparty library is updated.