From a3eec0074e96f2ff8a383f9a71c750562347949d Mon Sep 17 00:00:00 2001 From: Troy Date: Fri, 14 May 2021 14:29:32 +0100 Subject: [PATCH] Changes suggested by Miepee Co-authored-by: Miepee <38186597+Miepee@users.noreply.github.com> --- AM2RLauncher/AM2RLauncher/MainForm/MainForm.UI.cs | 2 +- AM2RLauncher/AM2RLauncher/MainForm/SPLASH_LIST.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/AM2RLauncher/AM2RLauncher/MainForm/MainForm.UI.cs b/AM2RLauncher/AM2RLauncher/MainForm/MainForm.UI.cs index 07e486b..35ad8be 100644 --- a/AM2RLauncher/AM2RLauncher/MainForm/MainForm.UI.cs +++ b/AM2RLauncher/AM2RLauncher/MainForm/MainForm.UI.cs @@ -163,7 +163,7 @@ namespace AM2RLauncher // Custom splash texts Random rng = new Random(); // Some fanciness so we can have Gtk-only quips, because Gtk visuals are lame. - string splash = SPLASH.SPLASH_LIST[rng.Next(0, SPLASH.SPLASH_LIST.Length - (Platform.IsGtk ? 0 : 13))]; + string splash = Splash.SPLASH_LIST[rng.Next(0, Splash.SPLASH_LIST.Length - (Platform.IsGtk ? 0 : 13))]; log.Info("Randomly chosen splash: " + splash); // Load bitmaps diff --git a/AM2RLauncher/AM2RLauncher/MainForm/SPLASH_LIST.cs b/AM2RLauncher/AM2RLauncher/MainForm/SPLASH_LIST.cs index 364c7c7..ad09d13 100644 --- a/AM2RLauncher/AM2RLauncher/MainForm/SPLASH_LIST.cs +++ b/AM2RLauncher/AM2RLauncher/MainForm/SPLASH_LIST.cs @@ -4,7 +4,7 @@ using System.Text; namespace AM2RLauncher { - class SPLASH + class Splash { public static readonly string[] SPLASH_LIST = {