summaryrefslogtreecommitdiff
path: root/platform/web/js/engine/engine.js
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2022-12-12 11:43:59 +0100
committerRémi Verschelde <rverschelde@gmail.com>2022-12-12 11:43:59 +0100
commitf1edd03d4caef60b8ae6ce787390c1cf19518244 (patch)
tree0e0977b13e8ba0766a7364a4cb75d6c5a1b094bb /platform/web/js/engine/engine.js
parenta900383e57b982e6d16526d093db6e7a83c93405 (diff)
parentbe1c9d677d8bab3a14d4f966da313dd6d2dd3428 (diff)
Merge pull request #69718 from groud/finally_rename_gdnative_to_gdextension
Rename all gdnative occurences to gdextension
Diffstat (limited to 'platform/web/js/engine/engine.js')
-rw-r--r--platform/web/js/engine/engine.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/platform/web/js/engine/engine.js b/platform/web/js/engine/engine.js
index 9227aa1f05..fb80bd55e1 100644
--- a/platform/web/js/engine/engine.js
+++ b/platform/web/js/engine/engine.js
@@ -162,9 +162,9 @@ const Engine = (function () {
// Godot configuration.
me.rtenv['initConfig'](config);
- // Preload GDNative libraries.
+ // Preload GDExtension libraries.
const libs = [];
- me.config.gdnativeLibs.forEach(function (lib) {
+ me.config.gdextensionLibs.forEach(function (lib) {
libs.push(me.rtenv['loadDynamicLibrary'](lib, { 'loadAsync': true }));
});
return Promise.all(libs).then(function () {