Skip to content

Commit

Permalink
fix: make sure to run seed patch
Browse files Browse the repository at this point in the history
  • Loading branch information
ryantanrk committed Jun 15, 2024
1 parent 4b99bf2 commit 54f0c88
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion CustomScriptableObject/KeyboardItem.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down
1 change: 1 addition & 0 deletions DingusThings.cs
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ private void Awake()

// load patch
Harmony.CreateAndPatchAll(typeof(TerminalPatch));
Harmony.CreateAndPatchAll(typeof(SeedPatch));

// register custom scrap
MyHeartItem.Register();
Expand Down

0 comments on commit 54f0c88

Please sign in to comment.