Converted the GetAttribute methods in the ToolBox class to extension methods
This commit is contained in:
@@ -10,7 +10,7 @@ namespace Barotrauma.Particles
|
||||
|
||||
public DecalManager(string configFile)
|
||||
{
|
||||
XDocument doc = ToolBox.TryLoadXml(configFile);
|
||||
XDocument doc = XMLExtensions.TryLoadXml(configFile);
|
||||
if (doc == null || doc.Root == null) return;
|
||||
|
||||
prefabs = new Dictionary<string, DecalPrefab>();
|
||||
|
||||
Reference in New Issue
Block a user