diff --git a/core/core_bind.cpp b/core/core_bind.cpp index 3852f77bfc11..89da59db9b0a 100644 --- a/core/core_bind.cpp +++ b/core/core_bind.cpp @@ -1237,7 +1237,7 @@ String File::get_as_text() const { const_cast(*f)->seek(original_pos); - return text; + return text.replace("\r", ""); } String File::get_md5(const String &p_path) const {