Fix interaction outline jankiness at high speeds (#9653)

Converting mouse to eye pos is better done after the eye has its frameupdate.
This commit is contained in:
metalgearsloth
2022-07-13 03:46:12 +10:00
committed by GitHub
parent 365f388b8e
commit aa188cba95

View File

@@ -4,6 +4,7 @@ using Content.Client.Interactable.Components;
using Content.Client.Viewport;
using Content.Shared.CCVar;
using Content.Shared.Interaction;
using Robust.Client.GameObjects;
using Robust.Client.Graphics;
using Robust.Client.Input;
using Robust.Client.Player;
@@ -41,6 +42,7 @@ public sealed class InteractionOutlineSystem : EntitySystem
base.Initialize();
_configManager.OnValueChanged(CCVars.OutlineEnabled, SetCvarEnabled);
UpdatesAfter.Add(typeof(EyeUpdateSystem));
}
public override void Shutdown()