Skip to content

Commit

Permalink
Reverted units (#1676)
Browse files Browse the repository at this point in the history
* Readded percents to patch map's light, nitrogen and co2 levels

* Removed ppm
  • Loading branch information
athariqk authored Oct 9, 2020
1 parent e411f22 commit 4852ee9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/microbe_stage/editor/MicrobeEditorGUI.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1400,10 +1400,10 @@ private void UpdateShownPatchDetails()
// Atmospheric gasses
patchTemperature.Text = patch.Biome.AverageTemperature + " °C";
patchPressure.Text = "20 bar";
patchLight.Text = (patch.Biome.Compounds[sunlight].Dissolved * 100) + " lux";
patchLight.Text = (patch.Biome.Compounds[sunlight].Dissolved * 100) + "% lux";
patchOxygen.Text = (patch.Biome.Compounds[oxygen].Dissolved * 100) + "%";
patchNitrogen.Text = (patch.Biome.Compounds[nitrogen].Dissolved * 100) + " ppm";
patchCO2.Text = (patch.Biome.Compounds[carbondioxide].Dissolved * 100) + " ppm";
patchNitrogen.Text = (patch.Biome.Compounds[nitrogen].Dissolved * 100) + "%";
patchCO2.Text = (patch.Biome.Compounds[carbondioxide].Dissolved * 100) + "%";

// Compounds
patchHydrogenSulfide.Text = Math.Round(patch.Biome.Compounds[hydrogensulfide].Density *
Expand Down

0 comments on commit 4852ee9

Please sign in to comment.