Server list, lighting/los optimization
This commit is contained in:
@@ -31,6 +31,12 @@ namespace Subsurface
|
||||
set;
|
||||
}
|
||||
|
||||
public string MasterServerUrl
|
||||
{
|
||||
get;
|
||||
private set;
|
||||
}
|
||||
|
||||
public GameSettings(string filePath)
|
||||
{
|
||||
Load(filePath);
|
||||
@@ -53,6 +59,9 @@ namespace Subsurface
|
||||
GraphicsHeight = 768;
|
||||
}
|
||||
|
||||
|
||||
MasterServerUrl = ToolBox.GetAttributeString(doc.Root, "masterserverurl", "");
|
||||
|
||||
foreach (XElement subElement in doc.Root.Elements())
|
||||
{
|
||||
switch (subElement.Name.ToString().ToLower())
|
||||
|
||||
Reference in New Issue
Block a user