(69e52eea2) Fixed: Tutorial not resetting properly on retry

This commit is contained in:
Joonas Rikkonen
2019-03-27 20:51:03 +02:00
parent 8b5e18c348
commit 0f405512b2
8 changed files with 240 additions and 5 deletions
@@ -255,6 +255,9 @@ namespace Barotrauma
Hull hull = Hull.FindHull(ConvertUnits.ToDisplayUnits(explosionPos), null, false);
bool underWater = hull == null || explosionPos.Y < hull.Surface;
Hull hull = Hull.FindHull(ConvertUnits.ToDisplayUnits(explosionPos), null, false);
bool underWater = hull == null || explosionPos.Y < hull.Surface;
explosionPos = ConvertUnits.ToSimUnits(explosionPos);
Dictionary<Limb, float> distFactors = new Dictionary<Limb, float>();