summaryrefslogtreecommitdiffstats
path: root/editor/editor_file_system.cpp
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2023-07-08 18:23:06 +0200
committerRémi Verschelde <rverschelde@gmail.com>2023-07-08 18:23:06 +0200
commit157973ad5e44c20249b8f68d3b96945585610491 (patch)
tree3dcae77796afc3fef74c4e721b5a8a24ecfeb2a6 /editor/editor_file_system.cpp
parentbdcbfd71a87f446b9742d690d92838aad16f2bcb (diff)
parentf3f3365abd7792a34469de0e9a4688500b26bf04 (diff)
downloadredot-engine-157973ad5e44c20249b8f68d3b96945585610491.tar.gz
Merge pull request #79173 from RedworkDE/net-commandline-exporting
C#: Fix command line exporting
Diffstat (limited to 'editor/editor_file_system.cpp')
-rw-r--r--editor/editor_file_system.cpp1
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;