diff options
Diffstat (limited to 'core/os/file_access.cpp')
-rw-r--r-- | core/os/file_access.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/core/os/file_access.cpp b/core/os/file_access.cpp index 679b1c9054..e7ad544a93 100644 --- a/core/os/file_access.cpp +++ b/core/os/file_access.cpp @@ -353,7 +353,8 @@ Vector<String> FileAccess::get_csv_line(const String &p_delim) const { String l; int qc = 0; do { - ERR_FAIL_COND_V(eof_reached(), Vector<String>()); + if (eof_reached()) + break; l += get_line() + "\n"; qc = 0; |