diff --git a/WurstMod/Runtime/Entrypoint.cs b/WurstMod/Runtime/Entrypoint.cs index 553a780..a69300a 100644 --- a/WurstMod/Runtime/Entrypoint.cs +++ b/WurstMod/Runtime/Entrypoint.cs @@ -9,7 +9,7 @@ namespace WurstMod.Runtime { - public class Entrypoint : DeliMod + public class Entrypoint : DeliBehaviour { void Awake() { @@ -53,9 +53,9 @@ void InitAppDomain() public static ConfigEntry UseLegacyLoadingMethod; void InitConfig() { - ConfigQuickload = BaseMod.Config.Bind("Debug", "QuickloadPath", "", "Set this to a folder containing the scene you would like to load as soon as H3VR boots. This is good for quickly testing scenes you are developing."); - LoadDebugLevels = BaseMod.Config.Bind("Debug", "LoadDebugLevels", true, "True if you want the included default levels to be loaded"); - UseLegacyLoadingMethod = BaseMod.Config.Bind("Debug", "UseLegacyLoadingMethod", true, $"True if you want to support loading legacy v1 or standalone levels from the {Constants.CustomLevelsDirectory} folder"); + ConfigQuickload = Config.Bind("Debug", "QuickloadPath", "", "Set this to a folder containing the scene you would like to load as soon as H3VR boots. This is good for quickly testing scenes you are developing."); + LoadDebugLevels = Config.Bind("Debug", "LoadDebugLevels", true, "True if you want the included default levels to be loaded"); + UseLegacyLoadingMethod = Config.Bind("Debug", "UseLegacyLoadingMethod", true, $"True if you want to support loading legacy v1 or standalone levels from the {Constants.CustomLevelsDirectory} folder"); } private void SceneManager_sceneLoaded(Scene scene, LoadSceneMode mode) diff --git a/WurstMod/WurstMod.csproj b/WurstMod/WurstMod.csproj index a098277..4a32766 100644 --- a/WurstMod/WurstMod.csproj +++ b/WurstMod/WurstMod.csproj @@ -54,6 +54,9 @@ ..\Libs\Deli.dll + + ..\Libs\Deli.Runtime.dll + diff --git a/WurstMod/manifest.json b/WurstMod/manifest.json index f928d6c..b2b4a53 100644 --- a/WurstMod/manifest.json +++ b/WurstMod/manifest.json @@ -2,14 +2,14 @@ "guid": "wurstmod", "version": "2.0.0.0", "dependencies": { - "deli.core": "0.0.0.0" + "deli.core": "0.2.0" }, "name": "WurstMod", "authors": [ "Koba", "Nathan Gill" ], - "assets": { + "runtime": { "WurstMod.dll": "assembly" } }