Skip to content

Commit

Permalink
Update Mono.cs
Browse files Browse the repository at this point in the history
  • Loading branch information
HerpDerpinstine committed Nov 20, 2023
1 parent 59496bd commit a7b6a6a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion MelonLoader/Modules/Unity/Unity.Bootstrap/Mono.cs
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,12 @@ namespace MelonLoader.Unity
{
internal static class Mono
{
private static RuntimeInfo runtimeInfo;

internal static unsafe void Startup()
{
// Scan the Game for Information about the Mono Runtime
RuntimeInfo runtimeInfo = RuntimeInfo.Get();
runtimeInfo = RuntimeInfo.Get();

// Check if it found any Mono variant library
if ((runtimeInfo == null)
Expand Down

0 comments on commit a7b6a6a

Please sign in to comment.