(f16622a9d) Merge branch 'dev' of https://github.com/Regalis11/Barotrauma-development into dev

This commit is contained in:
Joonas Rikkonen
2019-03-29 17:26:26 +02:00
parent 4eba8faccf
commit d4d6a2ad30
3 changed files with 5 additions and 2 deletions
@@ -88,6 +88,7 @@ namespace Barotrauma
Gap.UpdateHulls();
}
OxygenPercentage = prevOxygenPercentage;
surface = drawSurface = rect.Y - rect.Height + WaterVolume / rect.Width;
Pressure = surface;
}