Rename usages of collidable to physics (#2230)
* Rename usages of collidable to physics * high tier PANIQUE * aaaaaaaaAAAAAa * cursed commit dont research * Fix urist and items being anchored * Fix the rest
This commit is contained in:
@@ -17,7 +17,7 @@ namespace Content.Server.Atmos
|
||||
{
|
||||
[Dependency] private IRobustRandom _robustRandom = default!;
|
||||
[Dependency] private IPhysicsManager _physicsManager = default!;
|
||||
public override ICollidableComponent? ControlledComponent { protected get; set; }
|
||||
public override IPhysicsComponent? ControlledComponent { protected get; set; }
|
||||
|
||||
private const float MoveForcePushRatio = 1f;
|
||||
private const float MoveForceForcePushRatio = 1f;
|
||||
|
||||
@@ -202,7 +202,7 @@ namespace Content.Server.Atmos
|
||||
|
||||
foreach (var entity in _gridTileLookupSystem.GetEntitiesIntersecting(GridIndex, GridIndices))
|
||||
{
|
||||
if (!entity.TryGetComponent(out ICollidableComponent physics)
|
||||
if (!entity.TryGetComponent(out IPhysicsComponent physics)
|
||||
|| !entity.TryGetComponent(out MovedByPressureComponent pressure)
|
||||
|| ContainerHelpers.IsInContainer(entity))
|
||||
continue;
|
||||
|
||||
Reference in New Issue
Block a user