mirror of
https://github.com/godotengine/godot.git
synced 2025-11-01 14:11:15 +00:00
Fix debugger not opening built-in scripts
This commit is contained in:
parent
62765fb7ca
commit
98dd04c38c
2 changed files with 15 additions and 3 deletions
|
|
@ -796,7 +796,7 @@ void GDScript::_set_subclass_path(Ref<GDScript> &p_sc, const String &p_path) {
|
|||
|
||||
String GDScript::_get_debug_path() const {
|
||||
if (is_built_in() && !get_name().is_empty()) {
|
||||
return get_name() + " (" + get_path().get_slice("::", 0) + ")";
|
||||
return get_name() + " (" + get_path() + ")";
|
||||
} else {
|
||||
return get_path();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue