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