GDScript: Fix subclass script path issues
This commit is contained in:
1 parent
55dae30177
commit
d531869a7c
7 files changed
+26
-18
No files matched your search
@@ -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();
|
||||
|
||||
Reference in new issue
Block a user