Increase MoverController performance (#4448)
Should be a decent amount; rest will come from removing IActionBlocker.
This commit is contained in:
15
Content.Server/Friction/TileFrictionController.cs
Normal file
15
Content.Server/Friction/TileFrictionController.cs
Normal file
@@ -0,0 +1,15 @@
|
||||
using Content.Server.Physics.Controllers;
|
||||
using Content.Shared.Friction;
|
||||
using Robust.Shared.GameObjects;
|
||||
|
||||
namespace Content.Server.Friction
|
||||
{
|
||||
public sealed class TileFrictionController : SharedTileFrictionController
|
||||
{
|
||||
public override void Initialize()
|
||||
{
|
||||
base.Initialize();
|
||||
Mover = EntitySystem.Get<SharedPhysicsSystem>().GetController<MoverController>();
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user