Revert "Add YAML gas reactions (#22803)" (#22939)

This reverts commit 054321d2c2.

Co-authored-by: Kevin Zheng <kevinz5000@gmail.com>
This commit is contained in:
Kara
2023-12-24 23:50:42 -07:00
committed by GitHub
parent 0baffe3243
commit ba88a9a022
9 changed files with 269 additions and 192 deletions

View File

@@ -10,7 +10,6 @@ namespace Content.Server.Atmos.EntitySystems
public sealed partial class AtmosphereSystem
{
[Dependency] private readonly IPrototypeManager _protoMan = default!;
[Dependency] private readonly GenericGasReactionSystem _reaction = default!;
private GasReactionPrototype[] _gasReactions = Array.Empty<GasReactionPrototype>();
private float[] _gasSpecificHeats = new float[Atmospherics.TotalNumberOfGases];
@@ -347,7 +346,7 @@ namespace Content.Server.Atmos.EntitySystems
break;
}
return _reaction.ReactAll(GasReactions, mixture, holder);
return reaction;
}
public enum GasCompareResult