Skip to content

Commit

Permalink
Fix the 1.3.1 backport
Browse files Browse the repository at this point in the history
StollD committed Oct 12, 2018
1 parent 9f4ca1b commit 82abd93
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Kopernicus.Components/PQSLandControlFixer.cs
Original file line number Diff line number Diff line change
@@ -36,9 +36,11 @@ public class PQSLandControlFixer : PQSMod
// I have no idea what Squad did to LandControl but it worked just fine before
public override void OnSetup()
{
#if !KSP131
typeof(PQS).GetFields(BindingFlags.Instance | BindingFlags.NonPublic)
.First(f => f.FieldType == typeof(PQSLandControl)).SetValue(sphere, null);
base.OnSetup();
#endif
}
}
}

0 comments on commit 82abd93

Please sign in to comment.