From c8d19197e686fb332e38a84635f88665367ce767 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lera=20Elvo=C3=A9?= Date: Wed, 29 Jun 2022 14:02:37 +0300 Subject: [PATCH] add newline to files.txt after stripping right edge --- ServerUI.gd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ServerUI.gd b/ServerUI.gd index 623dfe8..8584394 100644 --- a/ServerUI.gd +++ b/ServerUI.gd @@ -174,7 +174,7 @@ func _generate_filestxt(): for file in working_files: file = file as FileDef 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() if f.open(server_dir.plus_file("files.txt"), File.WRITE) == OK: