Update thruster for API change (#15642)

This commit is contained in:
metalgearsloth 2023-04-22 16:41:16 +10:00 committed by GitHub
parent 7ec0685fda
commit 0859101afe
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -270,7 +270,7 @@ public sealed class ThrusterSystem : EntitySystem
component.BurnPoly.Count > 0)
{
var shape = new PolygonShape();
shape.SetVertices(component.BurnPoly);
shape.Set(component.BurnPoly);
_fixtureSystem.TryCreateFixture(uid, shape, BurnFixture, hard: false, collisionLayer: (int) CollisionGroup.FullTileMask, body: physicsComponent);
}