Fix benchmark CSV export on non-US systems.

This commit is contained in:
Matthias Mailänder
2023-05-27 17:58:37 +02:00
committed by Gustas
parent c5b7728ac9
commit b58a8aaa0f

View File

@@ -10,6 +10,7 @@
#endregion
using System.Collections.Generic;
using System.Globalization;
namespace OpenRA.Support
{
@@ -50,7 +51,7 @@ namespace OpenRA.Support
Log.Write(name, "tick,time [ms]");
foreach (var point in sample.Value)
Log.Write(name, $"{point.Tick},{point.Value}");
Log.Write(name, $"{point.Tick},{point.Value.ToString(CultureInfo.InvariantCulture)}");
}
}