add newline to files.txt after stripping right edge

This commit is contained in:
Lera Elvoé 2022-06-29 14:02:37 +03:00
parent 45cf485d9d
commit c8d19197e6

View File

@ -174,7 +174,7 @@ func _generate_filestxt():
for file in working_files: for file in working_files:
file = file as FileDef file = file as FileDef
if file.include_in_filestxt: if file.include_in_filestxt:
files += ("%s %s %s\n" % [file.file_path, file.date, file.title]).strip_edges(false, true) files += ("%s %s %s" % [file.file_path, file.date, file.title]).strip_edges(false, true) + "\n"
var f := File.new() var f := File.new()
if f.open(server_dir.plus_file("files.txt"), File.WRITE) == OK: if f.open(server_dir.plus_file("files.txt"), File.WRITE) == OK: