Remove FixtureId (#19280)
This commit is contained in:
@@ -95,8 +95,8 @@ public sealed partial class ShuttleSystem : SharedShuttleSystem
|
||||
{
|
||||
foreach (var fixture in args.NewFixtures)
|
||||
{
|
||||
_physics.SetDensity(uid, fixture, TileMassMultiplier, false, manager);
|
||||
_fixtures.SetRestitution(uid, fixture, 0.1f, false, manager);
|
||||
_physics.SetDensity(uid, fixture.Key, fixture.Value, TileMassMultiplier, false, manager);
|
||||
_fixtures.SetRestitution(uid, fixture.Key, fixture.Value, 0.1f, false, manager);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -445,7 +445,7 @@ public sealed class ThrusterSystem : EntitySystem
|
||||
|
||||
private void OnStartCollide(EntityUid uid, ThrusterComponent component, ref StartCollideEvent args)
|
||||
{
|
||||
if (args.OurFixture.ID != BurnFixture)
|
||||
if (args.OurFixtureId != BurnFixture)
|
||||
return;
|
||||
|
||||
component.Colliding.Add(args.OtherEntity);
|
||||
@@ -453,7 +453,7 @@ public sealed class ThrusterSystem : EntitySystem
|
||||
|
||||
private void OnEndCollide(EntityUid uid, ThrusterComponent component, ref EndCollideEvent args)
|
||||
{
|
||||
if (args.OurFixture.ID != BurnFixture)
|
||||
if (args.OurFixtureId != BurnFixture)
|
||||
return;
|
||||
|
||||
component.Colliding.Remove(args.OtherEntity);
|
||||
|
||||
Reference in New Issue
Block a user