]> git.smokeofanarchy.ru Git - space-station-14.git/commit
Make ReactionResults an array (#34967)
authormetalgearsloth <31366439+metalgearsloth@users.noreply.github.com>
Sun, 9 Feb 2025 02:13:47 +0000 (13:13 +1100)
committerGitHub <noreply@github.com>
Sun, 9 Feb 2025 02:13:47 +0000 (03:13 +0100)
commitba1fd6c5f3decb64d231c3e3b9689187a4152a7a
treebd00a937d2bba76f8cfa4ae024d5f47588aca149
parent01cbe31872cc6882819b309b19d06ad967589f1d
Make ReactionResults an array (#34967)

* Make ReactionResults an array

We're making the dictionaries fixed-size anyway.
Alternatively could use a frozendictionary but not sure on the perf difference. Worst case whoever adds another reactionresult makes a minor adjustment

* apply conventions

---------

Co-authored-by: slarticodefast <161409025+slarticodefast@users.noreply.github.com>
Content.Server/Atmos/EntitySystems/AtmosphereSystem.Hotspot.cs
Content.Server/Atmos/Reactions/PlasmaFireReaction.cs
Content.Server/Atmos/Reactions/TritiumFireReaction.cs
Content.Shared/Atmos/GasMixture.cs