[ChatBoxExtensions] Updated to 2023r172ex1

This commit is contained in:
kafeijao 2023-08-14 19:34:13 +01:00
parent 4c09f9bd57
commit 1d2533ff2b
No known key found for this signature in database
GPG key ID: E99978723E454B4C
13 changed files with 41 additions and 23 deletions

View file

@ -1,4 +1,4 @@
using ABI_RC.Core.Savior;
using ABI_RC.Systems.InputManagement;
using HarmonyLib;
namespace NAK.ChatBoxExtensions.HarmonyPatches;
@ -9,6 +9,6 @@ public class CVRInputManagerPatches
[HarmonyPatch(typeof(CVRInputManager), nameof(CVRInputManager.Start))]
static void Postfix_CVRInputManager_Start(ref CVRInputManager __instance)
{
ChatBoxExtensions.InputModule = __instance.gameObject.AddComponent<InputModules.InputModuleChatBoxExtensions>();
__instance.AddInputModule(ChatBoxExtensions.InputModule);
}
}