Add conditional camera offset based on cursor - Hristov Rework, Part 1 (#31626)
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
using Content.Shared.Camera;
|
||||
using Content.Shared.Hands.Components;
|
||||
using Content.Shared.Movement.Systems;
|
||||
|
||||
@@ -7,6 +8,8 @@ public abstract partial class SharedHandsSystem
|
||||
{
|
||||
private void InitializeRelay()
|
||||
{
|
||||
SubscribeLocalEvent<HandsComponent, GetEyeOffsetRelayedEvent>(RelayEvent);
|
||||
SubscribeLocalEvent<HandsComponent, GetEyePvsScaleRelayedEvent>(RelayEvent);
|
||||
SubscribeLocalEvent<HandsComponent, RefreshMovementSpeedModifiersEvent>(RelayEvent);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user