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

This commit is contained in:
Regalis
2017-03-02 19:38:31 +02:00
parent 01a543e8b4
commit a5017193bf

View File

@@ -608,7 +608,6 @@ namespace Barotrauma
#if DEBUG
DebugConsole.ThrowError("SetTransformIgnoreContacts threw an exception in SetContainedItemPositions", e);
#endif
contained.body.SetTransform(simPos, 0.0f);
}
}