diff --git a/MuzikaGromche/DiscoBallManager.cs b/MuzikaGromche/DiscoBallManager.cs index b5a7180..e37afb0 100644 --- a/MuzikaGromche/DiscoBallManager.cs +++ b/MuzikaGromche/DiscoBallManager.cs @@ -21,8 +21,8 @@ namespace MuzikaGromche public static void Initialize() { - string assetdir = Path.Combine(Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location), "muzikagromche"); - var bundle = AssetBundle.LoadFromFile(assetdir); + string bundlePath = Path.Combine(Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location), "muzikagromche_discoball"); + var bundle = AssetBundle.LoadFromFile(bundlePath); foreach ((string prefabPath, string tileName) in new[] { ("Assets/LethalCompany/Mods/MuzikaGromche/DiscoBallContainerManor.prefab", "ManorStartRoomSmall"), diff --git a/MuzikaGromche/MuzikaGromche.csproj b/MuzikaGromche/MuzikaGromche.csproj index f6a91f1..0f74d09 100644 --- a/MuzikaGromche/MuzikaGromche.csproj +++ b/MuzikaGromche/MuzikaGromche.csproj @@ -54,7 +54,7 @@ - + diff --git a/MuzikaGromche/UnityAssets/muzikagromche b/MuzikaGromche/UnityAssets/muzikagromche_discoball similarity index 100% rename from MuzikaGromche/UnityAssets/muzikagromche rename to MuzikaGromche/UnityAssets/muzikagromche_discoball