diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2019-11-04 08:59:30 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-11-04 08:59:30 +0100 |
commit | 76aa9754607d44e0ef401ea84fe5485ffda800a4 (patch) | |
tree | 97ba2d17f0d074b4ae627a0da1b5dfb1275d0602 /modules/gdscript | |
parent | 5dac35a300504bfa193e98102eac727b287323ea (diff) | |
parent | 7f40b6902288d4e6406412985260c36a57d56943 (diff) |
Merge pull request #33266 from Xrayez/inst2dict-original-path
Use GDScript resource path over script path for `inst2dict`
Diffstat (limited to 'modules/gdscript')
-rw-r--r-- | modules/gdscript/gdscript_functions.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/gdscript/gdscript_functions.cpp b/modules/gdscript/gdscript_functions.cpp index 185eb6c3fc..bbafef68ed 100644 --- a/modules/gdscript/gdscript_functions.cpp +++ b/modules/gdscript/gdscript_functions.cpp @@ -1126,7 +1126,7 @@ void GDScriptFunctions::call(Function p_func, const Variant **p_args, int p_arg_ Dictionary d; d["@subpath"] = cp; - d["@path"] = p->path; + d["@path"] = p->get_path(); p = base.ptr(); |