Converted everything to use collision and physics component interfaces.
This commit is contained in:
@@ -136,7 +136,7 @@ namespace Content.Server.GameObjects.Components
|
||||
|
||||
public void Fumble()
|
||||
{
|
||||
if (Owner.TryGetComponent<PhysicsComponent>(out var physicsComponent))
|
||||
if (Owner.TryGetComponent<IPhysicsComponent>(out var physicsComponent))
|
||||
{
|
||||
physicsComponent.LinearVelocity += RandomOffset();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user