Restore script class cache if removed

I have no idea why anyone would do this, but this fixes it.

Fixes #72154. Depends on #72444 being merged to function properly.
This commit is contained in:
Juan Linietsky
2023-01-31 10:52:43 +01:00
parent e9de988020
commit 79897dd5bc
6 changed files with 23 additions and 3 deletions

View File

@@ -91,6 +91,8 @@ 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 bool has_global_classes();
static String get_global_class_cache_file_path();
static void init_languages();
static void finish_languages();