Clothing visualization sets RSI and state atomically.

This commit is contained in:
Pieter-Jan Briers
2020-04-23 16:04:23 +02:00
parent 6cad18bff4
commit 32f66b6f9e

View File

@@ -127,8 +127,7 @@ namespace Content.Client.GameObjects
{
var (rsi, state) = data.Value;
_sprite.LayerSetVisible(slot, true);
_sprite.LayerSetRSI(slot, rsi);
_sprite.LayerSetState(slot, state);
_sprite.LayerSetState(slot, state, rsi);
if (slot == Slots.INNERCLOTHING)
{