Skip to content

Commit

Permalink
Changing how Waterfall is detected, coping with changes on the thin…
Browse files Browse the repository at this point in the history
…g that happened on 0.10.0.0.

For #10
  • Loading branch information
Lisias committed Oct 8, 2024
1 parent b9dbe6d commit c62533e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
3 changes: 2 additions & 1 deletion Source/TweakScalerWaterfallFX/Startup.cs
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,8 @@ internal class Startup : MonoBehaviour
[UsedImplicitly]
private void Awake()
{
if (KSPe.Util.SystemTools.Type.Exists.ByQualifiedName("Waterfall.Waterfall"))
Log.force("TweakScalerWaterfallFX Version {0} is loaded.", Version.Text);
if (KSPe.Util.SystemTools.Assembly.Exists.ByName("Waterfall"))
using (KSPe.Util.SystemTools.Assembly.Loader a = new KSPe.Util.SystemTools.Assembly.Loader<Startup>())
{
a.LoadAndStartup("TweakScalerWaterfallFXIntegrator");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,8 @@
<HintPath>..\..\..\..\..\..\..\LIB\plugins\Scale_Redist.dll</HintPath>
<Private>False</Private>
</Reference>
<Reference Include="Waterfall">
<HintPath>..\..\..\..\..\..\..\LIB\plugins\Waterfall.dll</HintPath>
<Private>False</Private>
<Reference Include="Waterfall.0.10">
<HintPath>..\..\..\..\..\..\..\LIB\plugins\Waterfall.0.10.dll</HintPath>
</Reference>
</ItemGroup>
<ItemGroup>
Expand Down

0 comments on commit c62533e

Please sign in to comment.