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:
@@ -4,6 +4,7 @@ using Content.Client.Interactable.Components;
|
|||||||
using Content.Client.Viewport;
|
using Content.Client.Viewport;
|
||||||
using Content.Shared.CCVar;
|
using Content.Shared.CCVar;
|
||||||
using Content.Shared.Interaction;
|
using Content.Shared.Interaction;
|
||||||
|
using Robust.Client.GameObjects;
|
||||||
using Robust.Client.Graphics;
|
using Robust.Client.Graphics;
|
||||||
using Robust.Client.Input;
|
using Robust.Client.Input;
|
||||||
using Robust.Client.Player;
|
using Robust.Client.Player;
|
||||||
@@ -41,6 +42,7 @@ public sealed class InteractionOutlineSystem : EntitySystem
|
|||||||
base.Initialize();
|
base.Initialize();
|
||||||
|
|
||||||
_configManager.OnValueChanged(CCVars.OutlineEnabled, SetCvarEnabled);
|
_configManager.OnValueChanged(CCVars.OutlineEnabled, SetCvarEnabled);
|
||||||
|
UpdatesAfter.Add(typeof(EyeUpdateSystem));
|
||||||
}
|
}
|
||||||
|
|
||||||
public override void Shutdown()
|
public override void Shutdown()
|
||||||
|
|||||||
Reference in New Issue
Block a user