diff options
author | Chaosus <chaosus89@gmail.com> | 2018-12-16 07:09:33 +0300 |
---|---|---|
committer | Chaosus <chaosus89@gmail.com> | 2018-12-16 07:09:33 +0300 |
commit | 70c3270dfa1f5d237e57454b10fde1ea60884fd2 (patch) | |
tree | bc366c71544055489d86a367120309493e176df6 | |
parent | 0a4a3f71570163955976ac29e9764423523049c9 (diff) |
Removed error message arriving whenever csv file changed
-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; |