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:
@@ -20,9 +20,9 @@ namespace Content.Server.Construction.Completions
|
||||
|
||||
public async Task PerformAction(IEntity entity, IEntity? user)
|
||||
{
|
||||
if (!entity.TryGetComponent(out CollidableComponent? collidable)) return;
|
||||
if (!entity.TryGetComponent(out IPhysicsComponent? physics)) return;
|
||||
|
||||
collidable.Anchored = Value;
|
||||
physics.Anchored = Value;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user