From 54f0c88aa9a3ef678362f2a67d65079a3fdf89f9 Mon Sep 17 00:00:00 2001 From: ryantanrk Date: Sat, 15 Jun 2024 22:03:38 +0800 Subject: [PATCH] fix: make sure to run seed patch --- CustomScriptableObject/KeyboardItem.cs | 3 ++- DingusThings.cs | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/CustomScriptableObject/KeyboardItem.cs b/CustomScriptableObject/KeyboardItem.cs index 88d5fdc..c0d1cfb 100644 --- a/CustomScriptableObject/KeyboardItem.cs +++ b/CustomScriptableObject/KeyboardItem.cs @@ -8,10 +8,11 @@ internal class KeyboardItem { public static void Register() { + string itemName = "Keyboard"; AssetBundle? bundle = DingusThings.Bundle; if (bundle == null) { - DingusThings.Logger.LogError("Instant noodle packs failed to load."); + DingusThings.Logger.LogError(itemName + " failed to load."); return; } diff --git a/DingusThings.cs b/DingusThings.cs index 4dfbe0d..432dc11 100644 --- a/DingusThings.cs +++ b/DingusThings.cs @@ -71,6 +71,7 @@ private void Awake() // load patch Harmony.CreateAndPatchAll(typeof(TerminalPatch)); + Harmony.CreateAndPatchAll(typeof(SeedPatch)); // register custom scrap MyHeartItem.Register();