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.Client.GameObjects.Components.Mobs.State
|
||||
|
||||
EntitySystem.Get<StandingStateSystem>().Down(entity);
|
||||
|
||||
if (entity.TryGetComponent(out CollidableComponent collidable))
|
||||
if (entity.TryGetComponent(out PhysicsComponent physics))
|
||||
{
|
||||
collidable.CanCollide = false;
|
||||
physics.CanCollide = false;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -30,9 +30,9 @@ namespace Content.Client.GameObjects.Components.Mobs.State
|
||||
{
|
||||
EntitySystem.Get<StandingStateSystem>().Standing(entity);
|
||||
|
||||
if (entity.TryGetComponent(out CollidableComponent collidable))
|
||||
if (entity.TryGetComponent(out PhysicsComponent physics))
|
||||
{
|
||||
collidable.CanCollide = true;
|
||||
physics.CanCollide = true;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user