mirror of
https://github.com/godotengine/godot.git
synced 2025-10-19 16:03:29 +00:00
GDScript: Fix subclass script path issues
This commit is contained in:
parent
55dae30177
commit
d531869a7c
7 changed files with 26 additions and 18 deletions
|
@ -164,7 +164,7 @@ void GDScriptByteCodeGenerator::write_start(GDScript *p_script, const StringName
|
|||
|
||||
function->name = p_function_name;
|
||||
function->_script = p_script;
|
||||
function->source = p_script->get_path();
|
||||
function->source = p_script->get_script_path();
|
||||
|
||||
#ifdef DEBUG_ENABLED
|
||||
function->func_cname = (String(function->source) + " - " + String(p_function_name)).utf8();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue