From 530e05875f5714ecdf31a27769d5fc8b23ec9f63 Mon Sep 17 00:00:00 2001 From: pas2704 Date: Sun, 24 Nov 2024 02:28:57 -0500 Subject: [PATCH] minor cleanup --- CringeLauncher/Patches/EosInitPatch.cs | 2 +- CringeLauncher/Patches/RenderHookPatch.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/CringeLauncher/Patches/EosInitPatch.cs b/CringeLauncher/Patches/EosInitPatch.cs index c68037b..4e375dc 100644 --- a/CringeLauncher/Patches/EosInitPatch.cs +++ b/CringeLauncher/Patches/EosInitPatch.cs @@ -6,7 +6,7 @@ namespace CringeLauncher.Patches; // eos is disabled // [HarmonyPatch] -public class EosInitPatch +public static class EosInitPatch { private static MethodInfo TargetMethod() => AccessTools.Method(Type.GetType("VRage.EOS.MyEOSNetworking, VRage.EOS", true), "Init"); diff --git a/CringeLauncher/Patches/RenderHookPatch.cs b/CringeLauncher/Patches/RenderHookPatch.cs index db33386..edc2641 100644 --- a/CringeLauncher/Patches/RenderHookPatch.cs +++ b/CringeLauncher/Patches/RenderHookPatch.cs @@ -8,7 +8,7 @@ using System.Reflection; namespace CringeLauncher.Patches; [HarmonyPatch] -public class RenderHookPatch +public static class RenderHookPatch { [HarmonyPrefix, HarmonyPatch(typeof(SwapChain), nameof(SwapChain.Present))] private static void PresentPrefix()