From 946977eadb96aa3ed706c6c5df2f15905ec1fa04 Mon Sep 17 00:00:00 2001 From: Herp Derpinstine Date: Wed, 26 Jan 2022 17:13:50 -0600 Subject: [PATCH] Cleanup --- CHANGELOG.md | 2 +- MelonLoader/InternalUtils/MelonStartScreen.cs | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 31244d814..9e7e4e329 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -103,7 +103,7 @@ 71. Added Melon Author Coloring and MelonAuthorColor Attribute. (Credits to [adamdev](https://github.com/adamd3v) :D) 72. Fixed Issue with Melon Author Coloring. 73. Fixed Regeneration Issue with Assembly Generator. -74. Temporarily Disabled Start Screen on Unity Versions higher than 2020.3.21. +74. Temporarily Disabled Start Screen on Unity Versions higher than or equal to 2020.3.22. 75. Fixed Issue with Assembly Generator not Re-Enabling the Close Button on the Game Window. --- diff --git a/MelonLoader/InternalUtils/MelonStartScreen.cs b/MelonLoader/InternalUtils/MelonStartScreen.cs index 4390f6316..335d9def6 100644 --- a/MelonLoader/InternalUtils/MelonStartScreen.cs +++ b/MelonLoader/InternalUtils/MelonStartScreen.cs @@ -35,9 +35,9 @@ internal static int LoadAndRun(LemonFunc functionToWaitForAsync) if (unityVersion < minimumVersion) return functionToWaitForAsync(); - // Doesn't support Unity versions higher than 2020.3.21 (Crashing Issue) - SemVersion maximumVersion = new SemVersion(2020, 3, 21); - if (unityVersion > maximumVersion) + // Doesn't support Unity versions higher than or equal to 2020.3.22 (Crashing Issue) + SemVersion maximumVersion = new SemVersion(2020, 3, 22); + if (unityVersion >= maximumVersion) return functionToWaitForAsync(); if (!Load())