diff options
author | RĂ©mi Verschelde <remi@verschelde.fr> | 2022-12-10 10:21:19 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-12-10 10:21:19 +0100 |
commit | f6ea295bb10da4bad623433c74086072fb0e2a6a (patch) | |
tree | 5a72d27fc186b99b19280cb6f421e7031c84c639 /modules/gdscript/gdscript_compiler.cpp | |
parent | ae86d907e75c3de9b039e7cc77e521bc9739e6dc (diff) | |
parent | d531869a7c3c73d79c6ead71c7736f285bf6e1a1 (diff) |
Merge pull request #69467 from rune-scape/rune-subclass-script-path
GDScript: Fix subclass script path issues
Diffstat (limited to 'modules/gdscript/gdscript_compiler.cpp')
-rw-r--r-- | modules/gdscript/gdscript_compiler.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/gdscript/gdscript_compiler.cpp b/modules/gdscript/gdscript_compiler.cpp index d3260d90a6..c0539c7e45 100644 --- a/modules/gdscript/gdscript_compiler.cpp +++ b/modules/gdscript/gdscript_compiler.cpp @@ -2117,8 +2117,8 @@ GDScriptFunction *GDScriptCompiler::_parse_function(Error &r_error, GDScript *p_ if (EngineDebugger::is_active()) { String signature; // Path. - if (!p_script->get_path().is_empty()) { - signature += p_script->get_path(); + if (!p_script->get_script_path().is_empty()) { + signature += p_script->get_script_path(); } // Location. if (p_func) { |