From 9301e948b0ab97291a54f8a289cdd87bb8f82ad4 Mon Sep 17 00:00:00 2001 From: glax Date: Sun, 23 Apr 2023 15:09:04 +0200 Subject: [PATCH] Filename-formatting --- Server/Server.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Server/Server.cs b/Server/Server.cs index ea4cf9e..b49bd08 100644 --- a/Server/Server.cs +++ b/Server/Server.cs @@ -128,7 +128,7 @@ public class Server { Pathfinder testresult = new Pathfinder(rm, priority, angle).AStar(start, finish, Tag.SpeedType.car); - string fileName = $"angle{angle:0.000}_level{priority:0.000}.result"; + string fileName = $"angle{angle:00}_level{priority:0.000}.result"; testresult.SaveResult(Path.Join(parentFolder, fileName)); })); }