Fixture.Name -> ID

This commit is contained in:
Pieter-Jan Briers
2021-05-31 09:49:25 +02:00
parent 550e1e48b9
commit de3cbc4c0e

View File

@@ -57,7 +57,7 @@ namespace Content.Shared.GameObjects.EntitySystems
}
var shape = physicsComponent.Fixtures[0].Shape;
var fixture = new Fixture(physicsComponent, shape) {CollisionLayer = (int) CollisionGroup.ThrownItem, Hard = false, Name = ThrowingFixture};
var fixture = new Fixture(physicsComponent, shape) {CollisionLayer = (int) CollisionGroup.ThrownItem, Hard = false, ID = ThrowingFixture};
physicsComponent.AddFixture(fixture);
}