From 813119147d061d1ace5d9e5b612e3604bcd0cc5f Mon Sep 17 00:00:00 2001 From: Bitl Date: Fri, 3 Jul 2020 13:12:09 -0700 Subject: [PATCH] Reset button fixes. --- .../CharacterCustomization/CharacterCustomization.cs | 12 +++++++++--- .../CharacterCustomization_legacy.cs | 12 +++++++++--- 2 files changed, 18 insertions(+), 6 deletions(-) diff --git a/NovetusLauncher/NovetusLauncher/CharacterCustomization/CharacterCustomization.cs b/NovetusLauncher/NovetusLauncher/CharacterCustomization/CharacterCustomization.cs index cfe28b4..d5102a9 100644 --- a/NovetusLauncher/NovetusLauncher/CharacterCustomization/CharacterCustomization.cs +++ b/NovetusLauncher/NovetusLauncher/CharacterCustomization/CharacterCustomization.cs @@ -873,7 +873,9 @@ namespace NovetusLauncher { if (Directory.Exists(GlobalVars.tshirtdir)) { - listBox5.SelectedItem = "NoTShirt.rbxm"; + textBox12.Text = ""; + comboBox3.SelectedItem = "Roblox"; + listBox5.SelectedItem = "NoTShirt.rbxm"; GlobalVars.Custom_T_Shirt_Offline = listBox5.SelectedItem.ToString(); Image icon1 = LauncherFuncs.LoadImage(GlobalVars.tshirtdir + "\\" + GlobalVars.Custom_T_Shirt_Offline.Replace(".rbxm", "") + ".png"); pictureBox5.Image = icon1; @@ -936,7 +938,9 @@ namespace NovetusLauncher { if (Directory.Exists(GlobalVars.shirtdir)) { - listBox6.SelectedItem = "NoShirt.rbxm"; + textBox11.Text = ""; + comboBox2.SelectedItem = "Roblox"; + listBox6.SelectedItem = "NoShirt.rbxm"; GlobalVars.Custom_Shirt_Offline = listBox6.SelectedItem.ToString(); Image icon1 = LauncherFuncs.LoadImage(GlobalVars.shirtdir + "\\" + GlobalVars.Custom_Shirt_Offline.Replace(".rbxm", "") + ".png"); pictureBox6.Image = icon1; @@ -999,7 +1003,9 @@ namespace NovetusLauncher { if (Directory.Exists(GlobalVars.pantsdir)) { - listBox7.SelectedItem = "NoPants.rbxm"; + textBox13.Text = ""; + comboBox1.SelectedItem = "Roblox"; + listBox7.SelectedItem = "NoPants.rbxm"; GlobalVars.Custom_Pants_Offline = listBox7.SelectedItem.ToString(); Image icon1 = LauncherFuncs.LoadImage(GlobalVars.pantsdir + "\\" + GlobalVars.Custom_Pants_Offline.Replace(".rbxm", "") + ".png"); pictureBox7.Image = icon1; diff --git a/NovetusLauncher/NovetusLauncher/CharacterCustomization/CharacterCustomization_legacy.cs b/NovetusLauncher/NovetusLauncher/CharacterCustomization/CharacterCustomization_legacy.cs index 3ba1514..9c3783e 100644 --- a/NovetusLauncher/NovetusLauncher/CharacterCustomization/CharacterCustomization_legacy.cs +++ b/NovetusLauncher/NovetusLauncher/CharacterCustomization/CharacterCustomization_legacy.cs @@ -865,7 +865,9 @@ namespace NovetusLauncher { if (Directory.Exists(GlobalVars.tshirtdir)) { - listBox5.SelectedItem = "NoTShirt.rbxm"; + textBox11.Text = ""; + comboBox2.SelectedItem = "Roblox"; + listBox5.SelectedItem = "NoTShirt.rbxm"; GlobalVars.Custom_T_Shirt_Offline = listBox5.SelectedItem.ToString(); Image icon1 = LauncherFuncs.LoadImage(GlobalVars.tshirtdir + "\\" + GlobalVars.Custom_T_Shirt_Offline.Replace(".rbxm", "") + ".png"); pictureBox5.Image = icon1; @@ -928,7 +930,9 @@ namespace NovetusLauncher { if (Directory.Exists(GlobalVars.shirtdir)) { - listBox6.SelectedItem = "NoShirt.rbxm"; + textBox12.Text = ""; + comboBox1.SelectedItem = "Roblox"; + listBox6.SelectedItem = "NoShirt.rbxm"; GlobalVars.Custom_Shirt_Offline = listBox6.SelectedItem.ToString(); Image icon1 = LauncherFuncs.LoadImage(GlobalVars.shirtdir + "\\" + GlobalVars.Custom_Shirt_Offline.Replace(".rbxm", "") + ".png"); pictureBox6.Image = icon1; @@ -991,7 +995,9 @@ namespace NovetusLauncher { if (Directory.Exists(GlobalVars.pantsdir)) { - listBox7.SelectedItem = "NoPants.rbxm"; + textBox13.Text = ""; + comboBox3.SelectedItem = "Roblox"; + listBox7.SelectedItem = "NoPants.rbxm"; GlobalVars.Custom_Pants_Offline = listBox7.SelectedItem.ToString(); Image icon1 = LauncherFuncs.LoadImage(GlobalVars.pantsdir + "\\" + GlobalVars.Custom_Pants_Offline.Replace(".rbxm", "") + ".png"); pictureBox7.Image = icon1;