Converted everything to use collision and physics component interfaces.
This commit is contained in:
@@ -21,7 +21,7 @@ namespace Content.Server.GameObjects.Components
|
||||
|
||||
private void TryRotate(IEntity user, Angle angle)
|
||||
{
|
||||
if (Owner.TryGetComponent(out PhysicsComponent physics))
|
||||
if (Owner.TryGetComponent(out IPhysicsComponent physics))
|
||||
{
|
||||
if (physics.Anchored)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user