private void OnSimConsume(Sim.MassConsumedCallback mass_cb_info) { if (!((UnityEngine.Object)oxygenBreather == (UnityEngine.Object)null) && !oxygenBreather.GetComponent <KPrefabID>().HasTag(GameTags.Dead)) { Game.Instance.accumulators.Accumulate(oxygenBreather.O2Accumulator, mass_cb_info.mass); float value = 0f - mass_cb_info.mass; ReportManager.Instance.ReportValue(ReportManager.ReportType.OxygenCreated, value, oxygenBreather.GetProperName(), null); oxygenBreather.Consume(mass_cb_info); } }