Merge pull request #33266 from Xrayez/inst2dict-original-path

Use GDScript resource path over script path for `inst2dict`
This commit is contained in:
Rémi Verschelde 2019-11-04 08:59:30 +01:00 committed by GitHub
commit 76aa975460
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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();