Skip to content

Commit

Permalink
fix!: Fix mod message holding not being disabled at game start (#464)
Browse files Browse the repository at this point in the history
Fix mod message holding issue
  • Loading branch information
LeeTwentyThree committed Sep 13, 2023
1 parent 612ccb4 commit 6004b7a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions Nautilus/Initializer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
using HarmonyLib;
using Nautilus.Patchers;
using Nautilus.Utility;
using Nautilus.Utility.ModMessages;
using UnityEngine;
#if BELOWZERO
using UnityEngine.U2D;
Expand Down Expand Up @@ -76,5 +77,6 @@ static Initializer()
NewtonsoftJsonPatcher.Patch(_harmony);
InventoryPatcher.Patch(_harmony);
WaterParkPatcher.Patch(_harmony);
ModMessageSystem.Patch();
}
}
2 changes: 1 addition & 1 deletion Nautilus/Utility/ModMessages/ModMessageSystem.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ namespace Nautilus.Utility.ModMessages;
/// </summary>
public static class ModMessageSystem
{
static ModMessageSystem()
internal static void Patch()
{
SaveUtils.RegisterOnStartLoadingEvent(OnStartLoading);
}
Expand Down

0 comments on commit 6004b7a

Please sign in to comment.