Most warnings were related to EntityQuery and IPhysicsComponent. Partially fixes #1650 and fixes #1682
19 lines
516 B
C#
19 lines
516 B
C#
using Content.Client.GameObjects.Components.Mobs;
|
|
using Robust.Shared.GameObjects.Systems;
|
|
|
|
namespace Content.Client.GameObjects.EntitySystems
|
|
{
|
|
public sealed class CameraRecoilSystem : EntitySystem
|
|
{
|
|
public override void FrameUpdate(float frameTime)
|
|
{
|
|
base.FrameUpdate(frameTime);
|
|
|
|
foreach (var recoil in EntityManager.ComponentManager.EntityQuery<CameraRecoilComponent>())
|
|
{
|
|
recoil.FrameUpdate(frameTime);
|
|
}
|
|
}
|
|
}
|
|
}
|