(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

@@ -78,6 +78,7 @@ namespace Barotrauma
{
Prefab.Sprite?.EnsureLazyLoaded();
Prefab.SpecularSprite?.EnsureLazyLoaded();
Prefab.DeformableSprite?.EnsureLazyLoaded();
CurrentSwingAmount = Prefab.SwingAmountRad;
CurrentScaleOscillation = Prefab.ScaleOscillation;