Fixed some inconsistencies and oddities in physics-handling code

I'm not sure if this fixes or breaks anything, but it's worth a shot.
This commit is contained in:
juanjp600
2017-12-15 18:11:00 -03:00
parent 9ad9a65f1e
commit 1cb39f7fd5
7 changed files with 16 additions and 8 deletions
@@ -835,6 +835,7 @@ namespace Barotrauma
{
StairDirection = StairDirection == Direction.Left ? Direction.Right : Direction.Left;
bodies.ForEach(b => GameMain.World.RemoveBody(b));
bodies.Clear();
CreateStairBodies();
}