1
0
mirror of https://github.com/godotengine/godot.git synced 2026-01-03 19:11:41 +00:00

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

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