OneMoreRoundWeapon.CrosshairBridge.cs
using Sandbox;
/// <summary>
/// Small presentation bridge for the OMR ScreenPanel crosshair.
///
/// This intentionally does not replace or alter the weapon's existing
/// HudPainter implementation. It simply exposes the exact same calculated
/// visual gap so the crosshair can be rendered in the ScreenPanel/UI pass,
/// which survives OMR's higher-priority viewmodel camera.
/// </summary>
public partial class OneMoreRoundWeapon
{
public virtual bool ShouldShowScreenCrosshair =>
!(IsAiming && HideCrosshairWhileAiming);
public virtual Vector2 ScreenCrosshairGap =>
CalculateCrosshairGap(
CurrentSpread
);
}