IEnumerator FixAirstreamShielding(Vessel v) { yield return(null); int num_parts = v.parts.Count; var AS = new AirstreamShield(builder); for (int i = 0; i < num_parts; i++) { v.parts[i].AddShield(AS); } yield return(null); for (int i = 0; i < num_parts; i++) { v.parts[i].RemoveShield(AS); } }
IEnumerator FixAirstreamShielding (Vessel v) { yield return null; int num_parts = v.parts.Count; var AS = new AirstreamShield (builder); for (int i = 0; i < num_parts; i++) { v.parts[i].AddShield (AS); } yield return null; for (int i = 0; i < num_parts; i++) { v.parts[i].RemoveShield (AS); } }