select Roblox if nothing is defined

This commit is contained in:
Bitl 2020-07-03 11:53:42 -07:00
parent b00787e8b9
commit 3db81dfb32
2 changed files with 24 additions and 0 deletions

View File

@ -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);

View File

@ -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);