(50a891840) Lazy deformable LevelObject sprite loading

This commit is contained in:
Joonas Rikkonen
2019-04-03 16:25:31 +03:00
parent 8bf3927d98
commit 1f94e174ef
7 changed files with 59 additions and 38 deletions

View File

@@ -337,7 +337,7 @@ namespace Barotrauma
SpecularSprite = new Sprite(subElement, lazyLoad: true);
break;
case "deformablesprite":
DeformableSprite = new DeformableSprite(subElement);
DeformableSprite = new DeformableSprite(subElement, lazyLoad: true);
break;
case "overridecommonness":
string levelType = subElement.GetAttributeString("leveltype", "");