From 70c3270dfa1f5d237e57454b10fde1ea60884fd2 Mon Sep 17 00:00:00 2001 From: Chaosus Date: Sun, 16 Dec 2018 07:09:33 +0300 Subject: Removed error message arriving whenever csv file changed --- core/os/file_access.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 FileAccess::get_csv_line(const String &p_delim) const { String l; int qc = 0; do { - ERR_FAIL_COND_V(eof_reached(), Vector()); + if (eof_reached()) + break; l += get_line() + "\n"; qc = 0; -- cgit v1.2.3