(f417b026f) Fetched: Changes for playing video tutorial from local branch
This commit is contained in:
@@ -8,8 +8,6 @@ namespace Barotrauma
|
||||
{
|
||||
partial class StructurePrefab : MapEntityPrefab
|
||||
{
|
||||
public XElement ConfigElement { get; private set; }
|
||||
|
||||
private bool canSpriteFlipX, canSpriteFlipY;
|
||||
|
||||
private float health;
|
||||
@@ -152,7 +150,6 @@ namespace Barotrauma
|
||||
{
|
||||
name = element.GetAttributeString("name", "")
|
||||
};
|
||||
sp.ConfigElement = element;
|
||||
if (string.IsNullOrEmpty(sp.name)) sp.name = element.Name.ToString();
|
||||
sp.identifier = element.GetAttributeString("identifier", "");
|
||||
|
||||
@@ -217,10 +214,6 @@ namespace Barotrauma
|
||||
}
|
||||
|
||||
SerializableProperty.DeserializeProperties(sp, element);
|
||||
if (sp.Body)
|
||||
{
|
||||
sp.Tags.Add("wall");
|
||||
}
|
||||
string translatedDescription = TextManager.Get("EntityDescription." + sp.identifier, true);
|
||||
if (!string.IsNullOrEmpty(translatedDescription)) sp.Description = translatedDescription;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user