This commit is contained in:
Regalis
2017-01-01 23:21:29 +02:00
parent e358ea9917
commit 9c07038fef
4 changed files with 7 additions and 56 deletions
+3 -8
View File
@@ -62,21 +62,16 @@ namespace Barotrauma
switch (state)
{
case 0:
state = 1;
break;
case 1:
//item.body.LinearVelocity = Vector2.Zero;
if (item.ParentInventory!=null) item.body.FarseerBody.IsKinematic = false;
if (item.CurrentHull == null) return;
state = 2;
state = 1;
break;
case 2:
case 1:
if (!Submarine.MainSub.AtEndPosition && !Submarine.MainSub.AtStartPosition) return;
Finished();
state = 3;
state = 2;
break;
}
}