Skip to content

Commit

Permalink
Fixed an issue with Compatibility Layers not loading from Base Directory
Browse files Browse the repository at this point in the history
  • Loading branch information
HerpDerpinstine committed Dec 8, 2024
1 parent f059fd2 commit 479ed47
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
1 change: 0 additions & 1 deletion Dependencies/CompatibilityLayers/IPA/IPA/PluginManager.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
using System.Collections.Generic;
using IllusionPlugin;
using MelonLoader;
using MelonLoader.Utils;

namespace IllusionInjector
Expand Down
2 changes: 1 addition & 1 deletion MelonLoader/CompatibilityLayers/MelonCompatibilityLayer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ namespace MelonLoader
{
public static class MelonCompatibilityLayer
{
public static string baseDirectory = $"{MelonEnvironment.GameRootDirectory}{Path.DirectorySeparatorChar}MelonLoader{Path.DirectorySeparatorChar}Dependencies{Path.DirectorySeparatorChar}CompatibilityLayers";
public static string baseDirectory = $"{MelonEnvironment.MelonBaseDirectory}{Path.DirectorySeparatorChar}MelonLoader{Path.DirectorySeparatorChar}Dependencies{Path.DirectorySeparatorChar}CompatibilityLayers";

private static List<MelonModule.Info> layers = new List<MelonModule.Info>()
{
Expand Down
1 change: 1 addition & 0 deletions MelonLoader/Resolver/MelonAssemblyResolver.cs
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ internal static void Setup()
? MelonEnvironment.Il2CppAssembliesDirectory
: MelonEnvironment.UnityGameManagedDirectory),
MelonEnvironment.OurRuntimeDirectory,
MelonEnvironment.MelonBaseDirectory,
MelonEnvironment.GameRootDirectory);

// Setup Redirections
Expand Down

0 comments on commit 479ed47

Please sign in to comment.