Merge pull request #69467 from rune-scape/rune-subclass-script-path

GDScript: Fix subclass script path issues
This commit is contained in:
Rémi Verschelde 2022-12-10 10:21:19 +01:00 committed by GitHub
commit f6ea295bb1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 26 additions and 18 deletions

View file

@ -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) {