start modExample 21, fix bundleLoading being Null,

This commit is contained in:
CWX
2025-02-10 18:17:36 +00:00
parent fa179fdb02
commit b572f1da18
8 changed files with 39 additions and 11 deletions
+4 -2
View File
@@ -1,4 +1,5 @@
using Core.Loaders;
using System.Reflection;
using Core.Loaders;
using Core.Models.External;
using SptCommon.Annotations;
@@ -19,6 +20,7 @@ public class Bundle : IPostDBLoadMod
public void PostDBLoad()
{
var modFolder = Directory.GetCurrentDirectory();
_bundleLoader.AddBundles(modFolder);
var test = Assembly.GetExecutingAssembly().Location;
_bundleLoader.AddBundles(Path.Join(modFolder, "/user/mods/Mod3/"));
}
}