Fix bug with animated sprites not being initially animated (#3381)
Sets auto animated of client inventory to true, enables cosmos bedsheets to be animated when first equipping. Fixes #1144
This commit is contained in:
@@ -186,6 +186,7 @@ namespace Content.Client.GameObjects.Components.HUD.Inventory
|
|||||||
var (rsi, state) = data.Value;
|
var (rsi, state) = data.Value;
|
||||||
_sprite.LayerSetVisible(slot, true);
|
_sprite.LayerSetVisible(slot, true);
|
||||||
_sprite.LayerSetState(slot, state, rsi);
|
_sprite.LayerSetState(slot, state, rsi);
|
||||||
|
_sprite.LayerSetAutoAnimated(slot, true);
|
||||||
|
|
||||||
if (slot == Slots.INNERCLOTHING)
|
if (slot == Slots.INNERCLOTHING)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user