tweaks and stuff

This commit is contained in:
Alex Noir
2017-12-20 20:44:21 +03:00
parent 1fe71b5fe6
commit e5f60b29e1
3 changed files with 12 additions and 18 deletions
@@ -777,8 +777,6 @@ namespace Barotrauma
private bool IsInWater()
{
if (parentInventory != null && parentInventory.Owner != null)
FindHull();
if (CurrentHull == null) return true;
float surfaceY = CurrentHull.Surface;