From 065173f3f74f6450ff17c341f7c2c3de15c5ae53 Mon Sep 17 00:00:00 2001 From: Joonas Rikkonen Date: Wed, 27 Mar 2019 11:30:47 +0200 Subject: [PATCH] (c417b7693) Decreased structure damage done by frag grenades (they weren't very practical for defending against intruders because they tended to blow up half the sub) and made them disappear after they've exploded. Closes #1317 --- Barotrauma/BarotraumaShared/Source/Map/Explosion.cs | 3 --- 1 file changed, 3 deletions(-) diff --git a/Barotrauma/BarotraumaShared/Source/Map/Explosion.cs b/Barotrauma/BarotraumaShared/Source/Map/Explosion.cs index 72dab9b50..13c6965e9 100644 --- a/Barotrauma/BarotraumaShared/Source/Map/Explosion.cs +++ b/Barotrauma/BarotraumaShared/Source/Map/Explosion.cs @@ -185,9 +185,6 @@ 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 distFactors = new Dictionary();