(dbc56728c) Fixed item scale not being taken into account in light sprites

This commit is contained in:
Joonas Rikkonen
2019-04-25 18:12:19 +03:00
parent d3687bc3ef
commit df0f8c79ab
2 changed files with 2 additions and 1 deletions
@@ -171,6 +171,7 @@ namespace Barotrauma.Items.Components
UpdateOnActiveEffects(deltaTime);
#if CLIENT
light.SpriteScale = Vector2.One * item.Scale;
light.ParentSub = item.Submarine;
if (item.Container != null)
{