(f4acd46ef) Don't enable the "report leaks" button inside ruins

This commit is contained in:
Joonas Rikkonen
2019-05-18 17:29:24 +03:00
parent 6463face3b
commit 75640a321f
9 changed files with 100 additions and 119 deletions
@@ -117,7 +117,7 @@ namespace Barotrauma
// Take the sub position into account in the sim pos
if (character.Submarine == null && Target.Submarine != null)
{
//currTargetSimPos += Target.Submarine.SimPosition;
currTargetSimPos += Target.Submarine.SimPosition;
}
else if (character.Submarine != null && Target.Submarine == null)
{