Skip to content

Commit

Permalink
Cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
HerpDerpinstine committed Jan 26, 2022
1 parent 4cbcbd3 commit 946977e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.

---
Expand Down
6 changes: 3 additions & 3 deletions MelonLoader/InternalUtils/MelonStartScreen.cs
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,9 @@ internal static int LoadAndRun(LemonFunc<int> 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())
Expand Down

0 comments on commit 946977e

Please sign in to comment.