We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 344b500 commit 41e1c45Copy full SHA for 41e1c45
src/CrowdedMod/Patches/MiniGamePatches.cs
@@ -1,4 +1,5 @@
1
using HarmonyLib;
2
+using Il2CppInterop.Runtime.InteropTypes.Arrays;
3
4
namespace CrowdedMod.Patches;
5
@@ -9,7 +10,7 @@ public static class SecurityLoggerPatch
9
10
{
11
public static void Postfix(SecurityLogger __instance)
12
- __instance.Timers = new float[CrowdedModPlugin.MaxPlayers];
13
+ __instance.Timers = new Il2CppStructArray<float>(CrowdedModPlugin.MaxPlayers);
14
}
15
16
0 commit comments