Skip to content

Commit 31f696c

Browse files
committed
Merge pull request #94373 from maiself/fix-library-path-as-abs
Fix to restore `library_path` as absolute path
2 parents c5e5fa3 + 16eea2c commit 31f696c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/extension/gdextension.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -795,7 +795,7 @@ Error GDExtension::open_library(const String &p_path, const String &p_entry_symb
795795
// because that's what we want to check to see if it's changed.
796796
library_path = actual_lib_path.get_base_dir().path_join(p_path.get_file());
797797
} else {
798-
library_path = p_path;
798+
library_path = actual_lib_path;
799799
}
800800

801801
ERR_FAIL_COND_V_MSG(err == ERR_FILE_NOT_FOUND, err, "GDExtension dynamic library not found: " + abs_path);

0 commit comments

Comments
 (0)