assigning jobs when a round starts, crew tab in multiplayer, repairtool particles light & sounds, attachable buttons, increased repairtool range & limbdamage, captain's uniform, wearable sprite bugfixes
This commit is contained in:
@@ -35,8 +35,12 @@ namespace Subsurface.Particles
|
||||
{
|
||||
name = element.Name.ToString();
|
||||
|
||||
string spritePath = ToolBox.GetAttributeString(element, "sprite", "");
|
||||
sprite = new Sprite(spritePath, new Vector2(0.5f,0.5f));
|
||||
foreach (XElement subElement in element.Elements())
|
||||
{
|
||||
if (subElement.Name.ToString().ToLower() != "sprite") continue;
|
||||
|
||||
sprite = new Sprite(subElement);
|
||||
}
|
||||
|
||||
angularVelocityMin = ToolBox.GetAttributeFloat(element, "angularvelocitymin", 0.0f);
|
||||
angularVelocityMax = ToolBox.GetAttributeFloat(element, "angularvelocitymax", 0.0f);
|
||||
|
||||
Reference in New Issue
Block a user