Skip to content

Commit

Permalink
TEMP: rolling back RF 15.2 requirement and MECBase ref so this compil…
Browse files Browse the repository at this point in the history
…es against RF v13. REVERSE ME when the dll package is updated.
  • Loading branch information
NathanKell committed Jul 22, 2022
1 parent dfec6ff commit 21f783f
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Source/KerbalConstructionTime/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,6 @@
[assembly: AssemblyFileVersion("2.3.2.0")]

[assembly: KSPAssembly("KerbalConstructionTime", 2, 0)]
[assembly: KSPAssemblyDependency("RealFuels", 15, 1)]
[assembly: KSPAssemblyDependency("RealFuels", 12, 7)]
[assembly: KSPAssemblyDependency("ClickThroughBlocker", 1, 8)]
[assembly: KSPAssemblyDependency("ToolbarController", 1, 0)]
4 changes: 2 additions & 2 deletions Source/KerbalConstructionTime/Utilities/Utilities.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2162,8 +2162,8 @@ public static Tuple<float, List<string>> GetVesselUnlockInfo(ShipConstruct ship)
// now back through the list looking for upgrades to add to our batch list
foreach (Part p in ship.Parts)
{
var mecs = p.FindModulesImplementing<RealFuels.ModuleEngineConfigsBase>();
foreach (RealFuels.ModuleEngineConfigsBase mec in mecs)
var mecs = p.FindModulesImplementing<RealFuels.ModuleEngineConfigs>();
foreach (RealFuels.ModuleEngineConfigs mec in mecs)
{
string sanitizedName = RealFuels.Utilities.SanitizeName(mec.configuration);
if (ecmPartsList.Contains(sanitizedName))
Expand Down
2 changes: 1 addition & 1 deletion Source/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,6 @@

[assembly: KSPAssembly("RP-0", 1, 0)]
[assembly: KSPAssemblyDependency("ModularFlightIntegrator", 1, 0)]
[assembly: KSPAssemblyDependency("RealFuels", 15, 1)]
[assembly: KSPAssemblyDependency("RealFuels", 12, 7)]
[assembly: KSPAssemblyDependency("ClickThroughBlocker", 1, 8)]
[assembly: KSPAssemblyDependency("KerbalConstructionTime", 2, 0)]

0 comments on commit 21f783f

Please sign in to comment.