Skip to content

Commit

Permalink
Fixed Formatting KSP-KOS#2319
Browse files Browse the repository at this point in the history
  • Loading branch information
evandisoft committed Nov 12, 2018
1 parent 1f0a761 commit d72ba46
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/kOS/Suffixed/BodyTarget.cs
Original file line number Diff line number Diff line change
Expand Up @@ -86,10 +86,10 @@ private void BodyInitializeSuffixes()
{
AddSuffix("NAME", new Suffix<StringValue>(() => Body.name));
AddSuffix("DESCRIPTION", new Suffix<StringValue>(() => Body.bodyDescription));
AddSuffix ("MASS", new Suffix<ScalarValue> (() => Body.Mass));
AddSuffix("OCEAN", new Suffix<BooleanValue> (() => Body.ocean));
AddSuffix("HASSOLIDSURFACE", new Suffix<BooleanValue> (() => Body.hasSolidSurface));
AddSuffix("ORBITINGCHILDREN", new Suffix<ListValue> (GetOrbitingBodies));
AddSuffix("MASS", new Suffix<ScalarValue>(() => Body.Mass));
AddSuffix("OCEAN", new Suffix<BooleanValue>(() => Body.ocean));
AddSuffix("HASSOLIDSURFACE", new Suffix<BooleanValue>(() => Body.hasSolidSurface));
AddSuffix("ORBITINGCHILDREN", new Suffix<ListValue>(GetOrbitingChildren));
AddSuffix("ALTITUDE", new Suffix<ScalarValue>(() => Body.orbit.altitude));
AddSuffix("RADIUS", new Suffix<ScalarValue>(() => Body.Radius));
AddSuffix("MU", new Suffix<ScalarValue>(() => Body.gravParameter));
Expand All @@ -112,7 +112,7 @@ private void BodyInitializeSuffixes()
"Given latitude and longitude, return the geoposition on this body corresponding to it."));
}

public ListValue GetOrbitingBodies()
public ListValue GetOrbitingChildren()
{
var toReturn = new ListValue();
foreach (CelestialBody body in Body.orbitingBodies) {
Expand Down

0 comments on commit d72ba46

Please sign in to comment.