summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorHilderin <81109165+Hilderin@users.noreply.github.com>2024-07-31 16:57:25 -0400
committerHilderin <81109165+Hilderin@users.noreply.github.com>2024-07-31 16:57:25 -0400
commit1ed723bd19b62d90599dc2da8f5c85352fb0880d (patch)
tree3b971cbf1500343800c9bfbc9a477e0a398ecd53 /core
parentb6dee96f68d5bd033e080f64f2c18a0dc62f469a (diff)
downloadredot-engine-1ed723bd19b62d90599dc2da8f5c85352fb0880d.tar.gz
Fix global class cache file not present when no class name
Diffstat (limited to 'core')
-rw-r--r--core/object/script_language.cpp4
-rw-r--r--core/object/script_language.h1
2 files changed, 0 insertions, 5 deletions
diff --git a/core/object/script_language.cpp b/core/object/script_language.cpp
index 0b528e908a..cdc56e5ec5 100644
--- a/core/object/script_language.cpp
+++ b/core/object/script_language.cpp
@@ -491,10 +491,6 @@ void ScriptServer::save_global_classes() {
ProjectSettings::get_singleton()->store_global_class_list(gcarr);
}
-String ScriptServer::get_global_class_cache_file_path() {
- return ProjectSettings::get_singleton()->get_global_class_list_path();
-}
-
////////////////////
ScriptCodeCompletionCache *ScriptCodeCompletionCache::singleton = nullptr;
diff --git a/core/object/script_language.h b/core/object/script_language.h
index 223f114150..59a43a7b29 100644
--- a/core/object/script_language.h
+++ b/core/object/script_language.h
@@ -97,7 +97,6 @@ public:
static void get_global_class_list(List<StringName> *r_global_classes);
static void get_inheriters_list(const StringName &p_base_type, List<StringName> *r_classes);
static void save_global_classes();
- static String get_global_class_cache_file_path();
static void init_languages();
static void finish_languages();