Skip to content

Commit

Permalink
Merge pull request #28 from ash-hat/fix/deli-v0.2
Browse files Browse the repository at this point in the history
Update to Deli v0.2
  • Loading branch information
nrgill28 authored Dec 3, 2020
2 parents f866f45 + acbd848 commit cc65895
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 6 deletions.
8 changes: 4 additions & 4 deletions WurstMod/Runtime/Entrypoint.cs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

namespace WurstMod.Runtime
{
public class Entrypoint : DeliMod
public class Entrypoint : DeliBehaviour
{
void Awake()
{
Expand Down Expand Up @@ -53,9 +53,9 @@ void InitAppDomain()
public static ConfigEntry<bool> 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)
Expand Down
3 changes: 3 additions & 0 deletions WurstMod/WurstMod.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,9 @@
<Reference Include="Deli">
<HintPath>..\Libs\Deli.dll</HintPath>
</Reference>
<Reference Include="Deli.Runtime">
<HintPath>..\Libs\Deli.Runtime.dll</HintPath>
</Reference>
<Reference Include="System" />
<Reference Include="System.Core" />
<Reference Include="System.Xml.Linq" />
Expand Down
4 changes: 2 additions & 2 deletions WurstMod/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
}

0 comments on commit cc65895

Please sign in to comment.