mirror of
https://github.com/Novetus/Novetus_src.git
synced 2025-01-31 17:53:01 +02:00
add map/client name to desc
This commit is contained in:
parent
0504dbcb33
commit
80f2e5fded
@ -916,13 +916,13 @@ namespace NovetusLauncher
|
||||
|
||||
private void LoadMapDesc()
|
||||
{
|
||||
if (File.Exists(GlobalPaths.RootPath + @"\\" + Tree.SelectedNode.FullPath.ToString().Replace(".rbxl", "").Replace(".rbxlx", "") + "_desc.txt"))
|
||||
if (File.Exists(GlobalPaths.RootPath + @"\\" + Tree.SelectedNode.FullPath.Replace(".rbxl", "").Replace(".rbxlx", "") + "_desc.txt"))
|
||||
{
|
||||
MapDescBox.Text = File.ReadAllText(GlobalPaths.RootPath + @"\\" + Tree.SelectedNode.FullPath.ToString().Replace(".rbxl", "").Replace(".rbxlx", "") + "_desc.txt");
|
||||
MapDescBox.Text = File.ReadAllText(GlobalPaths.RootPath + @"\\" + Tree.SelectedNode.FullPath.Replace(".rbxl", "").Replace(".rbxlx", "") + "_desc.txt");
|
||||
}
|
||||
else
|
||||
{
|
||||
MapDescBox.Text = Tree.SelectedNode.Text.ToString();
|
||||
MapDescBox.Text = Tree.SelectedNode.Text;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -154,8 +154,7 @@ namespace NovetusLauncher
|
||||
launcherFormStylishInterface1.clientWarningBox.Text = "";
|
||||
}
|
||||
|
||||
launcherFormStylishInterface1.clientDescBox.Text = GlobalVars.SelectedClientInfo.Description;
|
||||
//SelectedClientLabel.Text = GlobalVars.UserConfiguration.SelectedClient;
|
||||
launcherFormStylishInterface1.clientDescBox.Text = GlobalVars.UserConfiguration.SelectedClient + ": " + GlobalVars.SelectedClientInfo.Description;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -93,13 +93,13 @@ namespace NovetusLauncher
|
||||
|
||||
public void LoadMapDesc()
|
||||
{
|
||||
if (File.Exists(GlobalPaths.RootPath + @"\\" + mapsBox.SelectedNode.FullPath.ToString().Replace(".rbxl", "").Replace(".rbxlx", "") + "_desc.txt"))
|
||||
if (File.Exists(GlobalPaths.RootPath + @"\\" + mapsBox.SelectedNode.FullPath.Replace(".rbxl", "").Replace(".rbxlx", "") + "_desc.txt"))
|
||||
{
|
||||
mapsDescBox.Text = File.ReadAllText(GlobalPaths.RootPath + @"\\" + mapsBox.SelectedNode.FullPath.ToString().Replace(".rbxl", "").Replace(".rbxlx", "") + "_desc.txt");
|
||||
mapsDescBox.Text = mapsBox.SelectedNode.Text + ": " + File.ReadAllText(GlobalPaths.RootPath + @"\\" + mapsBox.SelectedNode.FullPath.Replace(".rbxl", "").Replace(".rbxlx", "") + "_desc.txt");
|
||||
}
|
||||
else
|
||||
{
|
||||
mapsDescBox.Text = mapsBox.SelectedNode.Text.ToString();
|
||||
mapsDescBox.Text = mapsBox.SelectedNode.Text;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user