private void OnUnassigned_On(HooksCore.RoR2.Skills.LunarPrimaryReplacementSkill.OnUnassigned.Orig orig, LunarPrimaryReplacementSkill self, GenericSkill skillSlot) { orig(self, skillSlot); if (this.origCrosshairLookup.ContainsKey(self)) { VisionsContextData data = this.origCrosshairLookup[self]; if (data.origCrosshair != null) { GameObject crosshair = skillSlot.characterBody.crosshairPrefab; if (crosshair.name == this.newVisionsCrosshair.name) { skillSlot.characterBody.crosshairPrefab = data.origCrosshair; } else { _ = skillSlot.StartCoroutine(this.CheckCrosshairUnset(skillSlot.characterBody, data)); } } if (data.checkCoroutine != null) { skillSlot.StopCoroutine(data.checkCoroutine); } } }