From a5017193bf2bf6cd8108c877176a91bfb178a33a Mon Sep 17 00:00:00 2001 From: Regalis Date: Thu, 2 Mar 2017 19:38:31 +0200 Subject: [PATCH] Items don't attempt to set the positions of contained items with SetTransform if SetTransformIgnoreContacts fails (because the former calls the latter anyway, causing another exception). Still haven't managed to reproduce the exception --- Subsurface/Source/Items/Item.cs | 1 - 1 file changed, 1 deletion(-) diff --git a/Subsurface/Source/Items/Item.cs b/Subsurface/Source/Items/Item.cs index d7802d5b0..c7df39511 100644 --- a/Subsurface/Source/Items/Item.cs +++ b/Subsurface/Source/Items/Item.cs @@ -608,7 +608,6 @@ namespace Barotrauma #if DEBUG DebugConsole.ThrowError("SetTransformIgnoreContacts threw an exception in SetContainedItemPositions", e); #endif - contained.body.SetTransform(simPos, 0.0f); } }