diff --git a/DunGenPlus/DunGenPlus/Assets.cs b/DunGenPlus/DunGenPlus/Assets.cs index 84d5d1f..6a16aff 100644 --- a/DunGenPlus/DunGenPlus/Assets.cs +++ b/DunGenPlus/DunGenPlus/Assets.cs @@ -20,10 +20,12 @@ namespace DunGenPlus { } static void AutoAddLethalBundle(AssetBundle assetBundle){ + if (assetBundle.isStreamedSceneAssetBundle) return; + var extenders = assetBundle.LoadAllAssets(); var content = assetBundle.LoadAllAssets(); - if (content.Length == 0) { + if (content.Length == 0 && extenders.Length > 0) { Plugin.logger.LogWarning($".lethalbundle does not contain any ExtendedContent. Unless you are manually creating and adding your ExtendedDungeonFlow with code, the DunGenExtender will probably not work."); } diff --git a/DunGenPlus/DunGenPlus/DunGenPlus.csproj b/DunGenPlus/DunGenPlus/DunGenPlus.csproj index a1d68b1..73b2163 100644 --- a/DunGenPlus/DunGenPlus/DunGenPlus.csproj +++ b/DunGenPlus/DunGenPlus/DunGenPlus.csproj @@ -125,6 +125,6 @@ - copy "$(TargetPath)" "C:\Users\Jose Garcia\AppData\Roaming\r2modmanPlus-local\LethalCompany\profiles\SDM Debug\BepInEx\plugins\Unknown-DunGenPlus\$(TargetName).dll" + copy "$(TargetPath)" "C:\Users\Jose Garcia\AppData\Roaming\r2modmanPlus-local\LethalCompany\profiles\SDM Debug\BepInEx\plugins\Alice-DungeonGenerationPlus\$(TargetName).dll" \ No newline at end of file diff --git a/DunGenPlus/DunGenPlus/Plugin.cs b/DunGenPlus/DunGenPlus/Plugin.cs index 71448bb..1a69b21 100644 --- a/DunGenPlus/DunGenPlus/Plugin.cs +++ b/DunGenPlus/DunGenPlus/Plugin.cs @@ -22,9 +22,9 @@ namespace DunGenPlus { [BepInProcess("Lethal Company.exe")] public class Plugin : BaseUnityPlugin { - internal const string modGUID = "dev.ladyalice"; + internal const string modGUID = "dev.ladyalice.dungenplus"; private const string modName = "Dungeon Generation Plus"; - private const string modVersion = "1.0.0"; + private const string modVersion = "1.0.2"; internal readonly Harmony Harmony = new Harmony(modGUID);