summaryrefslogtreecommitdiff
path: root/modules/gdscript/gdscript.cpp
diff options
context:
space:
mode:
authorRémi Verschelde <remi@verschelde.fr>2022-03-04 10:44:56 +0100
committerGitHub <noreply@github.com>2022-03-04 10:44:56 +0100
commit9b94a1dc4a61660f178d1a5fe65a8da0700c7c8b (patch)
tree4a2198e97134e9af81ad3ca2f02858c22b547735 /modules/gdscript/gdscript.cpp
parent39dc25376e2bfaf14648dd4873a7c702be2e0323 (diff)
parent98dd04c38cfd59e27cfac7f349b4833b8db8becf (diff)
Merge pull request #58670 from KoBeWi/internal_debugger
Diffstat (limited to 'modules/gdscript/gdscript.cpp')
-rw-r--r--modules/gdscript/gdscript.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/gdscript/gdscript.cpp b/modules/gdscript/gdscript.cpp
index 58a788e255..8bf5fd1eda 100644
--- a/modules/gdscript/gdscript.cpp
+++ b/modules/gdscript/gdscript.cpp
@@ -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();
}