diff options
Diffstat (limited to 'editor')
-rw-r--r-- | editor/editor_file_system.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/editor_file_system.cpp b/editor/editor_file_system.cpp index 4d0ef3fe8d..644c32e8a4 100644 --- a/editor/editor_file_system.cpp +++ b/editor/editor_file_system.cpp @@ -1593,7 +1593,7 @@ void EditorFileSystem::_update_pending_script_classes() { _update_script_classes(); } else { // In case the class cache file was removed somehow, regenerate it. - if (ScriptServer::has_global_classes() && !FileAccess::exists(ScriptServer::get_global_class_cache_file_path())) { + if (!FileAccess::exists(ScriptServer::get_global_class_cache_file_path())) { ScriptServer::save_global_classes(); } } |