aeafa16...4d3cf73

This commit is contained in:
Joonas Rikkonen
2019-03-18 22:57:05 +02:00
parent 3301bed442
commit 23687fbf2f
77 changed files with 2275 additions and 717 deletions
@@ -173,7 +173,7 @@ namespace Barotrauma.Items.Components
private void Launch(Vector2 impulse)
{
item.Drop();
item.Drop(null);
item.body.Enabled = true;
item.body.ApplyLinearImpulse(impulse);
@@ -213,7 +213,7 @@ namespace Barotrauma.Items.Components
{
float rotation = item.body.Rotation;
Vector2 simPositon = item.SimPosition;
item.Drop();
item.Drop(null);
item.body.Enabled = true;
//set the velocity of the body because the OnProjectileCollision method