Skip to content

Commit

Permalink
ALPHA Pre-Release
Browse files Browse the repository at this point in the history
  • Loading branch information
HerpDerpinstine committed Dec 25, 2022
1 parent d371452 commit d2ba7a7
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ internal class hVersionTextSettings : VersionTextSettings
{
public hVersionTextSettings()
{
Text = "<loaderNameHalloween/> v<loaderVersion/> Open-Beta";
Text = $"<loaderNameHalloween/> v<loaderVersion/> {(Is_ALPHA_PreRelease ? "ALPHA Pre-Release" : "Open-Beta")}";
Defaults();
}
}
Expand Down
3 changes: 2 additions & 1 deletion Dependencies/MelonStartScreen/UI/UI_Theme.cs
Original file line number Diff line number Diff line change
Expand Up @@ -179,11 +179,12 @@ public void Defaults()

internal class VersionTextSettings : TextSettings
{
internal bool Is_ALPHA_PreRelease = true;
public VersionTextSettings() => Defaults();
public void Defaults()
{
if (Text == null)
Text = $"<loaderName/> v<loaderVersion/> Open-Beta";
Text = $"<loaderName/> v<loaderVersion/> {(Is_ALPHA_PreRelease ? "ALPHA Pre-Release" : "Open-Beta")}";
TextSize = 24;
Anchor = UI_Anchor.MiddleCenter;
ScreenAnchor = UI_Anchor.MiddleCenter;
Expand Down
2 changes: 1 addition & 1 deletion MelonLoader/Core.cs
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ internal static class Core
{
internal static HarmonyLib.Harmony HarmonyInstance;

internal static bool Is_ALPHA_PreRelease = false;
internal static bool Is_ALPHA_PreRelease = true;

internal static NativeLibrary.StringDelegate WineGetVersion;

Expand Down

0 comments on commit d2ba7a7

Please sign in to comment.