1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-05 12:10:55 +00:00

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