Fix component constraints (#20241)
This commit is contained in:
@@ -152,7 +152,7 @@ namespace Content.Server.Physics.Controllers
|
||||
continue;
|
||||
}
|
||||
|
||||
if (!TryComp<PhysicsComponent?>(pullableEnt, out var physics) ||
|
||||
if (!TryComp<PhysicsComponent>(pullableEnt, out var physics) ||
|
||||
physics.BodyType == BodyType.Static ||
|
||||
movingTo.MapId != pullableXform.MapID)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user