From 3db81dfb329139385280521e552454335b2b7f73 Mon Sep 17 00:00:00 2001 From: Bitl Date: Fri, 3 Jul 2020 11:53:42 -0700 Subject: [PATCH] select Roblox if nothing is defined --- .../CharacterCustomization/CharacterCustomization.cs | 12 ++++++++++++ .../CharacterCustomization_legacy.cs | 12 ++++++++++++ 2 files changed, 24 insertions(+) diff --git a/NovetusLauncher/NovetusLauncher/CharacterCustomization/CharacterCustomization.cs b/NovetusLauncher/NovetusLauncher/CharacterCustomization/CharacterCustomization.cs index c520515..bb14505 100644 --- a/NovetusLauncher/NovetusLauncher/CharacterCustomization/CharacterCustomization.cs +++ b/NovetusLauncher/NovetusLauncher/CharacterCustomization/CharacterCustomization.cs @@ -153,6 +153,10 @@ namespace NovetusLauncher textBox12.Text = GlobalVars.Custom_T_Shirt_Offline.Replace("http://www.roblox.com/asset/?id=", "").Replace("http://finobe.com/asset/?id=", ""); } + else + { + comboBox3.SelectedItem = "Roblox"; + } if (GlobalVars.Custom_Shirt_Offline.Contains("http://")) { @@ -167,6 +171,10 @@ namespace NovetusLauncher textBox11.Text = GlobalVars.Custom_Shirt_Offline.Replace("http://www.roblox.com/asset/?id=", "").Replace("http://finobe.com/asset/?id=", ""); } + else + { + comboBox2.SelectedItem = "Roblox"; + } if (GlobalVars.Custom_Pants_Offline.Contains("http://")) { @@ -181,6 +189,10 @@ namespace NovetusLauncher textBox13.Text = GlobalVars.Custom_Pants_Offline.Replace("http://www.roblox.com/asset/?id=", "").Replace("http://finobe.com/asset/?id=", ""); } + else + { + comboBox1.SelectedItem = "Roblox"; + } //discord LauncherFuncs.UpdateRichPresence(LauncherFuncs.LauncherState.InCustomization, GlobalVars.Map); diff --git a/NovetusLauncher/NovetusLauncher/CharacterCustomization/CharacterCustomization_legacy.cs b/NovetusLauncher/NovetusLauncher/CharacterCustomization/CharacterCustomization_legacy.cs index f4f10ec..d2d0f69 100644 --- a/NovetusLauncher/NovetusLauncher/CharacterCustomization/CharacterCustomization_legacy.cs +++ b/NovetusLauncher/NovetusLauncher/CharacterCustomization/CharacterCustomization_legacy.cs @@ -150,6 +150,10 @@ namespace NovetusLauncher textBox11.Text = GlobalVars.Custom_T_Shirt_Offline.Replace("http://www.roblox.com/asset/?id=", "").Replace("http://finobe.com/asset/?id=", ""); } + else + { + comboBox2.SelectedItem = "Roblox"; + } if (GlobalVars.Custom_Shirt_Offline.Contains("http://")) { @@ -164,6 +168,10 @@ namespace NovetusLauncher textBox12.Text = GlobalVars.Custom_Shirt_Offline.Replace("http://www.roblox.com/asset/?id=", "").Replace("http://finobe.com/asset/?id=", ""); } + else + { + comboBox1.SelectedItem = "Roblox"; + } if (GlobalVars.Custom_Pants_Offline.Contains("http://")) { @@ -178,6 +186,10 @@ namespace NovetusLauncher textBox13.Text = GlobalVars.Custom_Pants_Offline.Replace("http://www.roblox.com/asset/?id=", "").Replace("http://finobe.com/asset/?id=", ""); } + else + { + comboBox3.SelectedItem = "Roblox"; + } //discord LauncherFuncs.UpdateRichPresence(LauncherFuncs.LauncherState.InCustomization, GlobalVars.Map);