Skip to content

Commit

Permalink
Update SupermatterComponent.cs
Browse files Browse the repository at this point in the history
  • Loading branch information
VMSolidus committed Aug 2, 2024
1 parent b6f0344 commit e117c79
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -337,8 +337,7 @@ public sealed partial class SupermatterComponent : Component
/// Stores each gas facts
/// </summary>
// todo: replace this with serializable GasFact array something
[DataField]
public Dictionary<Gas, (float TransmitModifier, float HeatPenalty, float PowerMixRatio)> GasDataFields = new()
public readonly Dictionary<Gas, (float TransmitModifier, float HeatPenalty, float PowerMixRatio)> GasDataFields = new()
{
[Gas.Oxygen] = (TransmitModifier: 1.5f, HeatPenalty: 1f, PowerMixRatio: 1f),
[Gas.Nitrogen] = (TransmitModifier: 0f, HeatPenalty: -1.5f, PowerMixRatio: -1f),
Expand Down

0 comments on commit e117c79

Please sign in to comment.