From 9815fe8304d4b648b5b516719a89bef67f567cb4 Mon Sep 17 00:00:00 2001 From: "p.krasnoshchekov" Date: Fri, 26 Apr 2024 02:29:45 +0300 Subject: [PATCH] =?UTF-8?q?=D0=9C=D0=B5=D0=BB=D0=BA=D0=B8=D0=B5=20=D0=B8?= =?UTF-8?q?=D0=B7=D0=BC=D0=B5=D0=BD=D0=B5=D0=BD=D0=B8=D1=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Content.Server/GuideGenerator/ReagentEntry.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Content.Server/GuideGenerator/ReagentEntry.cs b/Content.Server/GuideGenerator/ReagentEntry.cs index 0029df1de8e..ce1c8e3fe8c 100644 --- a/Content.Server/GuideGenerator/ReagentEntry.cs +++ b/Content.Server/GuideGenerator/ReagentEntry.cs @@ -51,7 +51,7 @@ public ReagentEntry(ReagentPrototype proto) TextColor = (0.2126f * r + 0.7152f * g + 0.0722f * b > 0.5 ? Color.Black : Color.White).ToHex(); - + Metabolisms = proto.Metabolisms?.ToDictionary(x => x.Key.Id, x => new ReagentEffectsEntry(x.Value)); } } @@ -65,7 +65,7 @@ public sealed class ReactionEntry public string Name { get; } [JsonPropertyName("reactants")] - public Dictionary Reactants { get; } = new(); + public Dictionary Reactants { get; } [JsonPropertyName("products")] public Dictionary Products { get; }