diff --git a/CringeLauncher/CringeLauncher.csproj b/CringeLauncher/CringeLauncher.csproj index b8d4a5e..2a407c1 100644 --- a/CringeLauncher/CringeLauncher.csproj +++ b/CringeLauncher/CringeLauncher.csproj @@ -18,7 +18,7 @@ - + diff --git a/CringeLauncher/Patches/InputPatch.cs b/CringeLauncher/Patches/InputPatch.cs index 934c0b3..0b04449 100644 --- a/CringeLauncher/Patches/InputPatch.cs +++ b/CringeLauncher/Patches/InputPatch.cs @@ -20,7 +20,7 @@ internal static class InputPatch return true; } - [HarmonyPrefix, HarmonyPatch("VRage.Input.Keyboard.MyGuiLocalizedKeyboardState", "GetCurrentState")] + [HarmonyPrefix, HarmonyPatch(typeof(MyGuiLocalizedKeyboardState), nameof(MyGuiLocalizedKeyboardState.GetCurrentState))] private static bool GetKeyboardStatePrefix(ref MyKeyboardState __result) { if (ImGuiHandler.Instance?.BlockKeys == true)