diff options
Diffstat (limited to 'editor/editor_file_system.cpp')
-rw-r--r-- | editor/editor_file_system.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/editor/editor_file_system.cpp b/editor/editor_file_system.cpp index b71c66d776..914e146d13 100644 --- a/editor/editor_file_system.cpp +++ b/editor/editor_file_system.cpp @@ -1635,6 +1635,7 @@ void EditorFileSystem::_queue_update_script_class(const String &p_path) { } void EditorFileSystem::update_file(const String &p_file) { + ERR_FAIL_COND(p_file.is_empty()); EditorFileSystemDirectory *fs = nullptr; int cpos = -1; |