summaryrefslogtreecommitdiff
path: root/modules/webxr/SCsub
diff options
context:
space:
mode:
Diffstat (limited to 'modules/webxr/SCsub')
-rw-r--r--modules/webxr/SCsub2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/webxr/SCsub b/modules/webxr/SCsub
index 0a96af0811..81caa4a279 100644
--- a/modules/webxr/SCsub
+++ b/modules/webxr/SCsub
@@ -3,7 +3,7 @@
Import("env")
Import("env_modules")
-if env["platform"] == "javascript":
+if env["platform"] == "web":
env.AddJSLibraries(["native/library_godot_webxr.js"])
env.AddJSExterns(["native/webxr.externs.js"])