Lung tweaks (#6634)

This commit is contained in:
mirrorcult
2022-02-10 14:58:41 -07:00
committed by GitHub
parent a8f3e56bc4
commit 2738b46362
8 changed files with 10 additions and 25 deletions

View File

@@ -54,7 +54,7 @@ public class LungSystem : EntitySystem
public void GasToReagent(EntityUid uid, LungComponent lung)
{
foreach (var gas in lung.ValidGases)
foreach (var gas in Enum.GetValues<Gas>())
{
var i = (int) gas;
var moles = lung.Air.Moles[i];