private IEnumerator tryAttachHarpoonCoro(Vessel v) { Log.dbg("re-attaching harpoons in {0} sec", harpoonReattachTimeout); yield return(new WaitForSeconds(harpoonReattachTimeout)); KASAPI.tryAttachHarpoonImmediately(v); }
protected override void reattach() { if (reattached) { return; } Log.detail("HarpoonReconnector: re-attaching to the ground; part = {0}", part.name); KASAPI.tryAttachHarpoonImmediately(vessel); reattached = true; }