Skip to content

Commit

Permalink
Мелкие изменения
Browse files Browse the repository at this point in the history
  • Loading branch information
p.krasnoshchekov committed Apr 25, 2024
1 parent 6173d3e commit 9815fe8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Content.Server/GuideGenerator/ReagentEntry.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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));
}
}
Expand All @@ -65,7 +65,7 @@ public sealed class ReactionEntry
public string Name { get; }

[JsonPropertyName("reactants")]
public Dictionary<string, ReactantEntry> Reactants { get; } = new();
public Dictionary<string, ReactantEntry> Reactants { get; }

[JsonPropertyName("products")]
public Dictionary<string, float> Products { get; }
Expand Down

0 comments on commit 9815fe8

Please sign in to comment.