From 6297c86fe0bb011151647d3b6bf52de7c48db107 Mon Sep 17 00:00:00 2001 From: OatmealDome Date: Sun, 11 Aug 2024 13:49:15 -0400 Subject: [PATCH] Program: Save random seed to the output BYAML --- Rotationator/Program.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Rotationator/Program.cs b/Rotationator/Program.cs index 7dcf990..a30aa68 100644 --- a/Rotationator/Program.cs +++ b/Rotationator/Program.cs @@ -1,4 +1,4 @@ -using System.CommandLine; +using System.CommandLine; using System.CommandLine.Invocation; using System.Text.Json; using OatmealDome.BinaryData; @@ -302,6 +302,7 @@ void Run(InvocationContext context) { "Generator", "Rotationator 1" }, { "GenerationTime", referenceNow.ToString("O") }, { "BaseByamlStartTime", baseTime.ToString("O") }, + { "RandomSeed", seed.ToString() } }; ByamlFile.Save(outputByamlPath, lastByaml, new ByamlSerializerSettings()