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:
@@ -422,10 +422,10 @@ namespace Content.Server.GameObjects.Components.Construction
|
||||
}
|
||||
}
|
||||
|
||||
if (Owner.TryGetComponent(out CollidableComponent? collidable) &&
|
||||
entity.TryGetComponent(out CollidableComponent? otherCollidable))
|
||||
if (Owner.TryGetComponent(out IPhysicsComponent? physics) &&
|
||||
entity.TryGetComponent(out IPhysicsComponent? otherPhysics))
|
||||
{
|
||||
otherCollidable.Anchored = collidable.Anchored;
|
||||
otherPhysics.Anchored = physics.Anchored;
|
||||
}
|
||||
|
||||
Owner.Delete();
|
||||
|
||||
Reference in New Issue
Block a user