function ScopeHUD.UpdateTargetingState(i)local B=i.props.Core.Targeting local D=B.Scope local z,V=B:UpdateTarget()return i:setState({Scope=D or Roact.None;ScopeTarget=V or Roact.None,DirectTarget=z or Roact.None;IsScopeLocked=B.IsScopeLocked})end

function ScopeHUD:UpdateTargetingState()
    local Targeting = self.props.Core.Targeting
    local Scope = Targeting.Scope
    local DirectTarget, ScopeTarget = Targeting:UpdateTarget()
    return self:setState({
        Scope = Scope or Roact.None;
        ScopeTarget = ScopeTarget or Roact.None;
        DirectTarget = DirectTarget or Roact.None;
        IsScopeLocked = Targeting.IsScopeLocked;
    })
end
