Fix debugger not opening built-in scripts
This commit is contained in:
1 parent
62765fb7ca
commit
98dd04c38c
2 files changed
+15
-3
No files matched your search
@@ -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();
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user