summaryrefslogtreecommitdiff
path: root/core/os/file_access.cpp
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2018-12-17 08:04:57 +0100
committerGitHub <noreply@github.com>2018-12-17 08:04:57 +0100
commit7fdb324647dbd98cfd17998e4781175a33c398ea (patch)
tree304dd4c9dc5c5fad4a43bcbccdd4629b17a669e9 /core/os/file_access.cpp
parent09623ffc4e415531df257e31c8e3b0ad3ab9ec06 (diff)
parent70c3270dfa1f5d237e57454b10fde1ea60884fd2 (diff)
Merge pull request #24388 from Chaosus/fix_csv_spam
Removed error message arriving whenever csv file changed
Diffstat (limited to 'core/os/file_access.cpp')
-rw-r--r--core/os/file_access.cpp3
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;