diff --git a/core/bind/core_bind.cpp b/core/bind/core_bind.cpp index cc07a48368e..54fa4214a4b 100644 --- a/core/bind/core_bind.cpp +++ b/core/bind/core_bind.cpp @@ -1121,6 +1121,7 @@ String _File::get_as_text() const { text+=l+"\n"; l = get_line(); } + text+=l; return text;