(0eb0c36ec) Fixed door background sprites being drawn in front of characters (TODO: update sprite depths in the subs)

This commit is contained in:
Joonas Rikkonen
2019-04-10 13:30:25 +03:00
parent af260565ad
commit 9a54b89bf3
3 changed files with 59 additions and 21 deletions
@@ -2062,8 +2062,6 @@ namespace Barotrauma
public virtual void Reset()
{
SerializableProperties = SerializableProperty.DeserializeProperties(this, Prefab.ConfigElement);
Sprite.ReloadXML();
SpriteDepth = Sprite.Depth;
components.ForEach(c => c.Reset());
}